12.05.2012, 04:15
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/minigun", true))
{
new Nome[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
format(string, sizeof(string), "[INFO]: %s Foi para o Combate Minigun", Nome);
SendClientMessageToAll(-1, string);
SetPlayerPos(playerid, Coordenadas); // Aqui vocк define as Coordenadas com /save In-Game
GivePlayerWeapon(playerid, 38, 9999);
return 1;
}
return 0;
}