Help me for oldskin? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me for oldskin? (
/showthread.php?tid=660745)
Help me for oldskin? -
Ndun - 12.11.2018
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]
Re: Help me for oldskin? -
Mike861 - 12.11.2018
oldskin[playerid] = GetPlayerSkin(playerid);
Re: Help me for oldskin? -
Ndun - 12.11.2018
How format? can example from my format?
Re: Help me for oldskin? -
Ndun - 12.11.2018
it worked, but why did the skin still not change to the beginning?
Re: Help me for oldskin? -
BiGuy - 12.11.2018
because its oldskin[playerid] nott oldskin you forgot to add playerid
Re: Help me for oldskin? -
Ndun - 12.11.2018
Quote:
Originally Posted by Mike861
oldskin[playerid] = GetPlayerSkin(playerid);
|
I was add this but still not success skin still not change to old.
Re: Help me for oldskin? -
Ndun - 13.11.2018
Any respond please help me.