27.11.2011, 16:53
I have it in a stock
Код:
stock WTFDeath(playerid) { if WTF[playerid] = 1; Freeze(playerid, 5000); // whatever it might look like for you return SetPlayerPos(playerid, WtfSpawns[Random][0], WtfSpawns[Random][1], WtfSpawns[Random][2]); new r = random(sizeof(RandomPistol)); GivePlayerWeapon(playerid, RandomPistol[r][0], RandomPistol[r][1]); new r1 = random(sizeof(RandomAssault)); GivePlayerWeapon(playerid, RandomAssault[r1][0], RandomAssault[r1][1]); new r3 = random(sizeof(RandomSub)); GivePlayerWeapon(playerid, RandomSub[r3][0], RandomSub[r3][1]); false; return true; }