25.01.2010, 13:38
Error output
OnPlayerClickPlayer
OnDialogResponse
340
362
Код:
C:\Program Files\SAMP\gamemodes\erp.pwn(340) : error 017: undefined symbol "clickedplayer" C:\Program Files\SAMP\gamemodes\erp.pwn(362) : error 017: undefined symbol "ClickedPlayerID" C:\Program Files\SAMP\gamemodes\erp.pwn(362) : warning 215: expression has no effect C:\Program Files\SAMP\gamemodes\erp.pwn(362) : error 001: expected token: ";", but found "]" C:\Program Files\SAMP\gamemodes\erp.pwn(362) : error 029: invalid expression, assumed zero C:\Program Files\SAMP\gamemodes\erp.pwn(362) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source) { new clickedplayer[MAX_PLAYER_NAME]; ClickedPlayerID[playerid] = clickedplayer; ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Erasхnum","Kirjuta siia, mida sa soovid saata mдngijale kirja:\n","Saada!","Loobu"); return 1; }
Код:
if(dialogid == 1) // Erasхnumi sьsteem { SendClientMessage(clickedplayer, VARV_VALGE, "[ES][ID:%d] :: %s", playerid, inputtext); return 1; }
Код:
SendClientMessage(clickedplayer, VARV_VALGE, "[ES][ID:%d] :: %s", playerid, inputtext);
Код:
ClickedPlayerID[playerid] = clickedplayer;