My server player's score is 0 on register? - 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: My server player's score is 0 on register? (
/showthread.php?tid=562023)
My server player's score is 0 on register? -
marshallbrown - 06.02.2015
Whenever a player register's the score is at 0. How do i Change it?
Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerCameraPos(playerid, 19.4895,-331.0008,26.1236);
SetPlayerCameraLookAt(playerid, -6.6752,-358.4601,5.4764);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, playerid+0);
TogglePlayerControllable(playerid, false);
if(PlayerStat[playerid][Logged] == 1 && PlayerStat[playerid][FullyRegistered] == 1) return LoadPlayerData(playerid);
return 1;
}
Re: My server player's score is 0 on register? -
HazardouS - 06.02.2015
https://sampwiki.blast.hk/wiki/SetPlayerScore
SetPlayerScore(playerid, <whatever score you want>);
Re: My server player's score is 0 on register? -
Steel_ - 06.02.2015
Show us your register system