15.02.2010, 14:50
Quote:
if(strcmp(cmd, "/equip", true) == 0) { if(PlayerToPoint(100,playerid, 2570.8425,-1285.0020,1065.3672)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } return 1; } |
Pls help
Thanks
if(strcmp(cmd, "/equip", true) == 0) { if(PlayerToPoint(100,playerid, 2570.8425,-1285.0020,1065.3672)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } return 1; } |
if(strcmp(cmd, "/equip", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5)
{
if(PlayerToPoint(100.0, playerid, 2570.8425, -1285.0020, 1065.3672))
{
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
}
else SendClientMessage(playerid, 0xFFFFFFFF, "You're not allowed to use this command.");
return true;
}