[erro] indefinido playerid? - 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: [erro] indefinido playerid? (
/showthread.php?tid=204566)
[erro] indefinido playerid? -
syslogg - 29.12.2010
e ae galera!!! tou criando um moveobject com settime, mas so q deu um erro muito estranho '-'
pawn Код:
forward portaodescer();
public portaodescer() {
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name)); //linha 3901
format(string, sizeof(string), "[INFO] - %s Desceu o portao, a corrida comeзou, nao atrapalhe na pista!",name);
SendClientMessageToAll(0xFFFF00AA, string);
MoveObject(portao1, -302.17288208, 1507.48266602, 71.63276672, 5.00);
return 1;
}
Код:
C:\Users\kurosaki\Desktop\Nova pasta (2)\Aadmin.pwn(3901) : error 017: undefined symbol "playerid"
que й isso '-' obrigado =P
Respuesta: [erro] indefinido playerid? -
ipsBruno - 29.12.2010
forward portaodescer(playerid);
public portaodescer(playerid)
Re: [erro] indefinido playerid? -
syslogg - 29.12.2010
obrigado drakins!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! sempre salvando vidas!!(como a minha*-*)