Commands
#7

Quote:
Originally Posted by God'Z War
Посмотреть сообщение
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
You can use this:
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;
    }
Thats All Very easy

Tell me if i helped
Reply


Messages In This Thread
Commands - by God'Z War - 17.09.2012, 21:18
Re: Commands - by antonio112 - 17.09.2012, 21:21
Re: Commands - by God'Z War - 17.09.2012, 21:37
Re: Commands - by mamorunl - 17.09.2012, 22:52
Re: Commands - by God'Z War - 22.09.2012, 11:20
Re: Commands - by newbienoob - 22.09.2012, 11:24
Re: Commands - by Pro_Drifter - 22.09.2012, 11:41
Re: Commands - by God'Z War - 22.09.2012, 12:18
Re: Commands - by mamorunl - 22.09.2012, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)