12.11.2018, 11:31
error 035: argument type mismatch (argument 2)
format(string, sizeof(string), "* Paramedic %s clocked out and is now off duty.", GetPlayerNameEx(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
Medics -= 1;
PlayerInfo[playerid][pDuty] = 0;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
ResetPlayerWeapons(playerid);
SetPlayerArmour(playerid, 0);
SetPlayerSkin(playerid, oldskin); <---
I was add
new oldskin[MAX_PLAYERS]
format(string, sizeof(string), "* Paramedic %s clocked out and is now off duty.", GetPlayerNameEx(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
Medics -= 1;
PlayerInfo[playerid][pDuty] = 0;
SetPlayerColor(playerid,TEAM_HIT_COLOR);
ResetPlayerWeapons(playerid);
SetPlayerArmour(playerid, 0);
SetPlayerSkin(playerid, oldskin); <---
I was add
new oldskin[MAX_PLAYERS]