[HELP] SetPlayerScore
#1

I want to make a commad that gives a player score. I tryed:

Код:
if (strcmp("/score", cmdtext, true, 10) == 0)
{
     SetPlayerScore(playerid, GetPlayerScore(playerid) +232);
     SendClientMessage(playerid,-1 ,"( ! ) I'm hungry");
     return 1;
}
No compile error but when im in game and i type the command nothing happens... Oh it shows only the message.
Please help
Reply


Messages In This Thread
[HELP] SetPlayerScore - by Shouty - 26.06.2012, 16:15
Re: [HELP] SetPlayerScore - by Shouty - 26.06.2012, 17:36
Re: [HELP] SetPlayerScore - by [KHK]Khalid - 26.06.2012, 17:47
Re: [HELP] SetPlayerScore - by Shouty - 26.06.2012, 17:58
Re: [HELP] SetPlayerScore - by MarinacMrcina - 26.06.2012, 18:03
Re: [HELP] SetPlayerScore - by [KHK]Khalid - 26.06.2012, 18:04
Re: [HELP] SetPlayerScore - by Shouty - 26.06.2012, 19:55
Re: [HELP] SetPlayerScore - by Shouty - 27.06.2012, 08:23

Forum Jump:


Users browsing this thread: 2 Guest(s)