Posts: 53
Threads: 12
Joined: Jun 2012
Reputation:
0
Hello,i have a problem,i set the level to let`s say 10,when i do /stats it appears to be 10 but when i press TAB it says it`s 0.I have the SyncUp thing,i don`t know what`s the problem.If you need any part of the code,tell me.Thanks.
Posts: 108
Threads: 20
Joined: Jul 2013
Reputation:
0
you mean the score when you press TAB?
Make sure you use: SetPlayerScore(playerid, PlayerInfo[playerid][pScore] += score);
Something like that.
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
SetPlayerScore(playerid, Level[playerid]);
Obviously you'd replace the "Level[playerid]" with whatever you use for the players level...
Posts: 53
Threads: 12
Joined: Jun 2012
Reputation:
0
Also i got a problem,when i try to use AttachObjectToVehicle,i declare everything correctly,i put it right where my mapping items start,in game it appears the car with all the items correctly attached but the cars which are declared with dealershipcar = AddStaticVehicle.... are missing.
Anyone knows why?
If needed i will post the code.
Thanks.