09.08.2016, 14:32
There's no error at all.
This script didn't work at all too
This script didn't work at all too
pawn Код:
else if(!strcmp(tmp, "job", true, 3))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientError(playerid, "You are not in any vehicle!");
if(GetAdminLevel(playerid) < 10) return SendClientError(playerid, CANT_USE_CMD);
if(!strlen(tmp2) || IsNumeric(tmp2) || strlen(tmp2) > MAX_PLAYER_NAME) return SCP(playerid, "job [name]");
dini_Set(CarFile(GetPlayerVehicleID(playerid)), "jobname", tmp2);
SendClientInfo(playerid, "Success: The job has been updated to this vehicle.");
myStrcpy(Vehicles[GetPlayerVehicleID(playerid)][jobname], tmp2);
}

