SA-MP Forums Archive
Can Someone help me for this cmd ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can Someone help me for this cmd ? (/showthread.php?tid=430291)



Can Someone help me for this cmd ? - ahmad95 - 13.04.2013

Beep!


Re: Can Someone help me for this cmd ? - [XST]O_x - 13.04.2013

pawn Код:
SetPlayerPos(playerid,Giocatore[playerid][XPos],Giocatore[playerid][YPos],Giocatore[playerid][ZPos]);
Should fix it. You were missing a square bracket.


Re: Can Someone help me for this cmd ? - ahmad95 - 13.04.2013

C:\Users\M1935\Downloads\fafa\fafa\gamemodes\[GM]Brombo.pwn(1336) : error 001: expected token: ",", but found "["
C:\Users\M1935\Downloads\fafa\fafa\gamemodes\[GM]Brombo.pwn(1336) : error 029: invalid expression, assumed zero
C:\Users\M1935\Downloads\fafa\fafa\gamemodes\[GM]Brombo.pwn(1336) : warning 215: expression has no effect
C:\Users\M1935\Downloads\fafa\fafa\gamemodes\[GM]Brombo.pwn(1336) : error 001: expected token: ";", but found "]"
C:\Users\M1935\Downloads\fafa\gamemodes\[GM]Brombo.pwn(1336) : fatal error 107: too many error messages on one line

nah, still.. how about this then?..


Re: Can Someone help me for this cmd ? - [XST]O_x - 13.04.2013

Oh, I see.
Change your variable declaration:
pawn Код:
new Giocatore[MAX_PLAYERS];
To:
pawn Код:
new Giocatore[MAX_PLAYERS][Posizione];



Re: Can Someone help me for this cmd ? - FalconeX - 13.04.2013

pawn Код:
if(Fdie[playerid] == 0) else return SendClientMessage(playerid, 0xF60000AA, "you have to die one time");
o the command up here is right... srry


Re: Can Someone help me for this cmd ? - ahmad95 - 13.04.2013

and the last error

C:\Users\M1935\Downloads\fafa\fafa\gamemodes\[GM]Brombo.pwn(456) : error 009: invalid array size (negative, zero or out of bounds)


Re: Can Someone help me for this cmd ? - ahmad95 - 13.04.2013

Someone please help me ? just once


Re: Can Someone help me for this cmd ? - [XST]O_x - 13.04.2013

Show us line 456? ...


Re: Can Someone help me for this cmd ? - ahmad95 - 13.04.2013

456 new Fdie[MAX_PLAYERS];
457 new Giocatore[MAX_PLAYERS][Posizione];