22.09.2012, 11:41
Quote:
Hey guys
i need your help i am trying to make minigames Like Minigun If Any one Typed Teleports Cmds . They will teleport With Minigun in one server i saw : if any one typed cmd they will not teleport it will show you should type /kill to exit dm |
pawn Код:
if(!strcmp(cmdtext, "/minigun", true) || !strcmp(cmdtext, "/minigun", true))
{
SetPlayerPos2(playerid, 3137.7678,-5204.4316,19.8778, cmdtext);
SetPlayerWorldBounds(playerid, -459.0665, -628.7813, -464.1276, -567.4709);
GivePlayerWeapon(playerid, 38, 8000);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100);
return 1;
}
Tell me if i helped