>> Get Player Name Help << [+REP]
#3

Код:
CMD:repair(playerid, params[])
{
new pName[MAX_PLAYERS];
GetPlayerName(playerid, pname, sizeof(pName));
 new string[128];
format(string,sizeof(string),"%s repaired his vehicle.",pName(playerid));
SendClientMessageToAll(-1,string);
if(Job[playerid] != 7)
return SendClientMessage(playerid, 0xAFAFAFAA, "You not are Mechanic");
 if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xAFAFAFAA, "You are not in a vehicle!");
return 1;
}
Reply


Messages In This Thread
>> Get Player Name Help << [+REP] - by DarknessKnight - 21.07.2014, 09:17
Re: >> Get Player Name Help << - by osman2571 - 21.07.2014, 09:24
Re: >> Get Player Name Help << [+REP] - by SPA - 21.07.2014, 09:41
Re: >> Get Player Name Help << [+REP] - by DarknessKnight - 21.07.2014, 09:55
Re: >> Get Player Name Help << [+REP] - by SPA - 21.07.2014, 09:57
Re: >> Get Player Name Help << [+REP] - by LivingLikeYouDo - 21.07.2014, 09:58
Re: >> Get Player Name Help << [+REP] - by osman2571 - 21.07.2014, 09:59
Re: >> Get Player Name Help << [+REP] - by SPA - 21.07.2014, 10:02
Re: >> Get Player Name Help << [+REP] - by DarknessKnight - 21.07.2014, 10:05
Re: >> Get Player Name Help << [+REP] - by LivingLikeYouDo - 21.07.2014, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)