15.08.2011, 11:21
(
Последний раз редактировалось lyrics; 15.08.2011 в 12:00.
)
FIXED!
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;
}
SetPlayerScore(playerid, GetPlayerScore + ...);
SetPlayerScore(playerid, GetPlayerScore(playerid) + ...);
pawn Код:
|
if(dialogid == 8)
if(!response)
{
if(dialogid == 8)
{
if(!response)
{