20.04.2013, 16:37
How to Convert strcmp to ZMD I Getting Error..
example Want to Conert '
Kan You Help me?
example Want to Conert '
Код:
if(strcmp(cmd, "/skydive", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
GetPlayerPos(playerid, rx, ry, rz);
if(IsPlayerConnected(playerid))
{
GivePlayerGun(playerid, 46);
SetPlayerPos(playerid,rx, ry, rz+1500);
SendClientMessage(playerid, COLOR_WHITE, "GO!! GO!! GO!!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "You are not authorized to use that command.");
}
}
return 1;



