20.07.2011, 20:23
I am Wanting To Know If Anyone Can Improve This Code or can tell me if its a good code.
(this does not include changing if(strcmp(cmdtext,"/vcmds",true) == 0))
Code:
(this does not include changing if(strcmp(cmdtext,"/vcmds",true) == 0))
Code:
pawn Код:
if(strcmp(cmdtext,"/vcmds",true) == 0)
{
if(IsPlayerVipType(playerid,1)) {
SendClientMessage(playerid,red,"[_____________San Andreas MultiPlayGround VIP Player Commands_____________]");
SendClientMessage(playerid,green,"Silver: /afk, /back, /f - Flips You Car");
if(IsPlayerVipType(playerid,2)) {
SendClientMessage(playerid,green,"Gold: /heal, /armor, /vr - Repairs Your Vehicle");
if(IsPlayerVipType(playerid,3)) {
SendClientMessage(playerid,green,"Preimum: /vpgod,");
}
}
}
else SendClientMessage(playerid,red,"Only Vip's Can Use This Command");
return 1;
}
Quote:
Originally Posted by SCREENSHOTS
|