please help, command bug - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: please help, command bug (
/showthread.php?tid=255211)
please help, command bug -
buzifej - 14.05.2011
Hi!
Bad command please repaired
Код:
dcmd_vinfo(playerid,params[]) {
if(!strlen(params)) return SendClientMessage(playerid,red," /getinfo [playerid]");
new player1,P1, string[128];
player1 = strval(params);
if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
if(PlayerInfo[player1][SpeedHax] == 1) P1 = "Yes"; else P1 = "No";
} else return SendClientMessage(playerid,red,"Player is not connect or yourself");
}
Re: please help, command bug -
Hal - 14.05.2011
What is it supposed to do? It looks like things were just copied and pasted with the intent that it will work.
Re: please help, command bug -
park4bmx - 14.05.2011
Can u give the error message