Fireduty script
#2

In command, all seems correct. Show your OnPlayerCommandText

Or, try this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new idx;
new cmd[256];
cmd = strtok(cmdtext, idx);

if(strcmp(cmd, "/fireduty", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "You are now a Firefighter");
SendClientMessage(playerid, COLOR_YELLOW, "You have no command at this time");
gTeam[playerid] = TEAM_FIRE;
SetPlayerColor(playerid, COLOR_RED);
SetPlayerPos(playerid, 1776.2158,2080.5100,10.8203);
GivePlayerWeapon(playerid, 9, 1);
GivePlayerWeapon(playerid, 42, 500);
SetPlayerSkin(playerid, 278);
return 1;
}
return 0;
}
Reply


Messages In This Thread
Fireduty script - by too803 - 07.02.2010, 18:09
Re: Fireduty script - by LuxurioN™ - 07.02.2010, 18:19
Re: Fireduty script - by Calgon - 07.02.2010, 18:21
Re: Fireduty script - by too803 - 07.02.2010, 18:26
Re: Fireduty script - by bajskorv123 - 07.02.2010, 18:27
Re: Fireduty script - by too803 - 07.02.2010, 18:35
Re: Fireduty script - by bajskorv123 - 07.02.2010, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)