Minigun game.
#4

Quote:
Originally Posted by Bob_Raw
Посмотреть сообщение
Well Do this






But Don't Forget You need the Enum's.
That wont work.

pawn Код:
if(!strcmp(cmdtext,"/minigun",true))
{
    new string[128], name[24];
    GetPlayerName(playerid, name, sizeof name); // This will get the name of the player
    GivePlayerWeapon(playerid, 38, 9999); //Give playerid minigun with 9999 ammo
    SetPlayerInterior(playerid, 0); //Set playerid Interioir 0
    SetPlayerPos(playerid, -2299.4580,1864.7584,15.5630); //Set playerid to spawn location
    format(string, sizeof string, "%s joined the minigun lobby!", name); // %s holds the variable name, which is the playername
    SendClientMessageToAll(-1, string); // This will send the string which you formatted above
    return 1;
}
Reply


Messages In This Thread
Minigun game. - by Kingunit - 18.07.2011, 15:45
Re: Minigun game. - by Bob_Raw - 18.07.2011, 15:47
Re: Minigun game. - by Kingunit - 18.07.2011, 15:51
Re: Minigun game. - by Wesley221 - 18.07.2011, 16:12
Re: Minigun game. - by Kingunit - 18.07.2011, 16:17
Re: Minigun game. - by Wesley221 - 18.07.2011, 16:18
Re: Minigun game. - by Kingunit - 18.07.2011, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)