21.07.2014, 09:17
(
Последний раз редактировалось DarknessKnight; 21.07.2014 в 09:54.
)
Hey guys , im working on a Mechanic job.
*PLAYERNAME* = How i can do that the server will print the player name?
I Saw some stuff with %s but i dont got it.
pawn Код:
CMD:repair(playerid, params[])
{
if(Job[playerid] != 7)
return SendClientMessage(playerid, 0xAFAFAFAA, "You not are Mechanic");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xAFAFAFAA, "You are not in a car!");
SendClientMessage(playerid, 0xFF66FFAA," *PLAYERNAME* repaired his vehicle.");
return 1;
}
I Saw some stuff with %s but i dont got it.