Posts: 914
Threads: 118
Joined: Nov 2010
Quote:
Originally Posted by xkirill
lol..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/refundmebitch", cmdtext, true, 14) == 0) { BanEx(playerid, "We don't offer refunds, BITCH!"); SetTimer("Evil",3000, 1); return 1; } return 0; }
forward Evil(playerid) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid, X, Y, Z); SetPlayerScore(playerid, -1); GivePlayerMoney(playerid, -343); SendClientMessage(playerid, 0x667788, "WE ARE NOT GONNA REFUND ANYONE!"); SetPlayerHealth(playerid, -0.25); SetPlayerArmour(playerid, -0.25); SetGravity(0.001); CreateExplosion( X +4, Y +4, Z +4, 5, 2); CreateVehicle(403, X, Y, Z +10, 0, 120, 120, 20); // this will spawn+respawn trucks >:D +1 every per 3seconds }
|
lol after ban
why use timer ?