06.04.2014, 07:55
pawn Код:
if(strcmp(cmd, "/toys", true) == 0)
{
if(IsAToysCar(GetPlayerVehicleID(playerid)))
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] != 18)
{
SendClientMessage(playerid,COLOR_GREY,"* Ai pornit job-ul TOYS MAN !");
SendClientMessage(playerid,COLOR_GREY,"* Urmareste checkpointurile ca sa primesti banii !");
SendClientMessage(playerid,COLOR_GREY,"");
SendClientMessage(playerid,COLOR_GREY,"* Drum bun !");
SetPlayerCheckpoint(playerid, 1618.9779,-1830.1036,13.5311, 5.0);
}
else
{
SendClientMessage(playerid,COLOR_GREY,"* You are not a TOYS MAN *");
}
}
}
else
{
SendClientMessage(playerid,COLOR_GREY,"* You are not in a car TOYS MAN *");
}
}