25.09.2012, 20:14
(
Последний раз редактировалось Beljulji; 25.09.2012 в 20:55.
)
Код:
if (strcmp(cmdtext,"/sfdm", true , 5) ==0) { SetPlayerPos(playerid,-1390.3849, 1494.4746, 1.6152); new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,"%s has joined /sfdm.",pName); SendClientMessageToAll(orange,string); GivePlayerWeapon(playerid,24,100);//------Deagle GivePlayerWeapon(playerid,27,100);//------Combat Shotgun GivePlayerWeapon(playerid,34,100);//------Sniper Rifle SendClientMessage(playerid,orange,"Welcome To The Sf Death match! to Exit use /exitdm!!!"); return 1; }
Код:
if (strcmp(cmdtext,"/exitdm", true , 7) == 0) { SetPlayerPos(playerid,1958.3319, -2355.5676, 13.0000); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 0, 1); SendClientMessage(playerid,yellow,"You have exited the Dm!"); return 1; }