[Ajuda] O que a de Errado nisso ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] O que a de Errado nisso ? (
/showthread.php?tid=318655)
[Ajuda] O que a de Errado nisso ? -
JonasK15 - 16.02.2012
ERROS:
PHP код:
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3709) : warning 215: expression has no effect
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3709) : error 001: expected token: ";", but found "}"
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3710) : warning 217: loose indentation
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3712) : warning 217: loose indentation
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3713) : warning 217: loose indentation
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3716) : error 055: start of function body without function header
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3717) : error 010: invalid function or declaration
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3718) : error 010: invalid function or declaration
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3721) : error 010: invalid function or declaration
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6722) : error 017: undefined symbol "Pickup"
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6722) : error 017: undefined symbol "X"
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6722) : error 029: invalid expression, assumed zero
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6722) : fatal error 107: too many error messages on one line
OnGameModeInit
PHP код:
PickupInterior = CreatePickup(Pickup, Estilo, Coordenadas X,Y,Z, 0);
PickupSaida = CreatePickup(Pickup, Estilo, Coordenadas X,Y,Z,0);
OnPlayerPickUpPickup
PHP код:
{
if(pickupid == PickupInterior) {1559}
if(PlayerToPoint(1.0, playerid,-1165.69995117,-1039.30004883,129.69999695))
SetPlayerPos(playerid, -1242.904296875,-1035.0107421875,7.2501850128174);
SetPlayerInterior(playerid, 14389);
return 1;
}
{
if(pickupid == PickupSaida) {1559}
if(PlayerToPoint(1.0, playerid,-1247.19995117,-1077.69995117,5.50000000))
SetPlayerPos(playerid, -1184.9130859375,-1021.76171875,128.42448425293);
SetPlayerInterior(playerid, 5496);
return 1;
}
Re: [Ajuda] O que a de Errado nisso ? -
JonasK15 - 16.02.2012
Novos Erros:
PHP код:
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3717) : error 010: invalid function or declaration
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(3719) : error 010: invalid function or declaration
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6719) : error 017: undefined symbol "Pickup"
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6719) : error 017: undefined symbol "X"
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6719) : error 029: invalid expression, assumed zero
C:\Users\Windows\Desktop\Meu Server\samp03dsvr_R2_win32\gamemodes\GodFather.pwn(6719) : fatal error 107: too many error messages on one line
Re: [Ajuda] O que a de Errado nisso ? -
arakuta - 16.02.2012
Voce nгo definiu Pickup nem as floats X Y Z...