Skripta koju koristim: Moja od 0
Detaljan opis problema: Kada compile-am skriptu dobijem slijedeće errore :/
Errori:
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060 -- 5061) : error 021: symbol already defined: "RemoveBuildingForPlayer"
C:\Documents and Settings\Administrator\Desktop\Mod od 0\gamemodes\CLRP.pwn(5060 -- 5061) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Dio skripte: Linije 5060, 5061 i 5062
RemoveBuildingForPlayer(playerid, 13759, 1413.4141, -804.7422, 83.4375, 0.25);
RemoveBuildingForPlayer(playerid, 13722, 1413.4141, -804.7422, 83.4375, 0.25);
RemoveBuildingForPlayer(playerid, 13831, 1413.4141, -804.7422, 83.4375, 0.25);
U koji si ti public stavljao taj kod?
Citat: Denis_Lapi poslato Jul 08, 2014, 22:17:31 POSLE PODNE
U koji si ti public stavljao taj kod?
Kod je ispod OnPlayerConnect :/
Ne tu ..
Stavi to ispod "GameModeInit"
Citat: DevoXx poslato Jul 09, 2014, 00:08:18 PRE PODNE
Ne tu ..
Stavi to ispod "GameModeInit"
O cemu pricas ti? :o OnGameModeInit je globalan public i u njemu se ne sadrzi pohranjivanje za playerid. To se ubacuje u OnPlayerConnect i tu nema polemike..
EDIT: Devoxx, evo obnovi malo..
http://wiki.sa-mp.com/wiki/RemoveBuildingForPlayer