Need Help with my Buy Score Menu
#1

FIXED!
Reply
#2

pawn Код:
if(!strcmp(cmdtext, "/buyscore", true))
 {
     if(InSpawn[playerid] == true) return SendClientMessage(playerid, COLOR_RED, "You can't use this command while on class selection");
     if(GetPVarInt(playerid, "InDm") == 1) return SendClientMessage(playerid,COLOR_RED, "You cant use any command While Your in DM");
     ShowPlayerDialog(playerid,8,DIALOG_STYLE_LIST,"Buy Score Menu","10 Score (Coast $1000)\n50 Score (Coast $10000)\n100 Score (Coast $50000)\n500 Score (Coast $1000000)","Buy","Cancel");
     return 1;
 }
Try this
Reply
#3

PHP код:
SetPlayerScore(playeridGetPlayerScore + ...); 
Should be
PHP код:
SetPlayerScore(playeridGetPlayerScore(playerid) + ...); 
Reply
#4

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
PHP код:
SetPlayerScore(playeridGetPlayerScore + ...); 
Should be
PHP код:
SetPlayerScore(playeridGetPlayerScore(playerid) + ...); 
Didnt work dude it crash my compiler
Reply
#5

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
pawn Код:
if(!strcmp(cmdtext, "/buyscore", true))
 {
     if(InSpawn[playerid] == true) return SendClientMessage(playerid, COLOR_RED, "You can't use this command while on class selection");
     if(GetPVarInt(playerid, "InDm") == 1) return SendClientMessage(playerid,COLOR_RED, "You cant use any command While Your in DM");
     ShowPlayerDialog(playerid,8,DIALOG_STYLE_LIST,"Buy Score Menu","10 Score (Coast $1000)\n50 Score (Coast $10000)\n100 Score (Coast $50000)\n500 Score (Coast $1000000)","Buy","Cancel");
     return 1;
 }
Try this
Didnt work either
Reply
#6

Maybe
PHP код:
if(dialogid == 8)
if(!
response)

into
PHP код:
if(dialogid == 8)
{
if(!
response)

Reply
#7

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Maybe
PHP код:
if(dialogid == 8)
if(!
response)

into
PHP код:
if(dialogid == 8)
{
if(!
response)

You late already fix lol lol lol
Reply
#8

Edit:
Woopsy, kinda late
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)