1 post in this topic

Всем привет. В чем же заключается суть команды?А все очень просто, она делает вас бессмертным =) 
Командный процессор: ZCMD

Спойлер

COMMAND:god(playerid,params[]) {#pragma unused params
if(GetPVarInt(playerid,"GOD") == 0) {
SetPVarInt(playerid,"GOD",1);
SetPlayerHealth(playerid,100000);
GivePlayerWeapon(playerid,16,50000); GivePlayerWeapon(playerid,26,50000);
SendClientMessage(playerid,green," ВКЛЮЧЕН РЕЖИМ БОГА");
return CMDMessageToAdmins(playerid,"GOD");
} else {
SetPVarInt(playerid,"GOD",0);
SendClientMessage(playerid,red," ВЫКЛЮЧЕН РЕЖИМ БОГА");
SetPlayerHealth(playerid, 100);
} return GivePlayerWeapon(playerid,35,0);
}

 

Спойлер

COMMAND:godcar(playerid,params[]) {#pragma unused params
if(IsPlayerInAnyVehicle(playerid)) {
if(GetPVarInt(playerid,"GODCAR") == 0) {
SetPVarInt(playerid,"GODCAR",1);
CMDMessageToAdmins(playerid,"GODCAR");
return SendClientMessage(playerid,green," ВАША ТАЧКА НЕ УЯЗВИМА");
} else {
SetPVarInt(playerid,"GODCAR",0);
return SendClientMessage(playerid,red," ВАША ТАЧКА УЯЗВИМА"); }
} else return SendClientMessage(playerid,red," ОШИБКА: Вы должны быть в машине");
}

 

 

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

Loading...
Sign in to follow this  
Followers 0