i need a script gift
#6

pawn Код:
if(!strcmp(cmdtext, "/cadou", true))
{
new stringtext[658], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
strcat(stringtext, "Key activated: cadou\n", sizeof(stringtext));
strcat(stringtext, "Key activated: cadou\n\n",sizeof(stringtext));
strcat(stringtext, "In this key you will have:\n\n",sizeof(stringtext));
strcat(stringtext, "3000000$\n",sizeof(stringtext));
strcat(stringtext, "2 Level",sizeof(stringtext));
ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Gift:", stringtext, "Okay", "");
PlayerInfo[playerid][pCash] += 3000000;
PlayerInfo[playerid][pLevel] += 2;
printf("Key activated: cadou");
printf("Player: %s", pName);
SetTimerEx("gKey", 3600, false, "i", playerid);
return 1;
}
Reply


Messages In This Thread
My gift [/cadou] have errors - by andreiu95 - 06.10.2014, 14:33
Re: i need a script gift - by astanalol00 - 06.10.2014, 14:35
Re: i need a script gift - by andreiu95 - 06.10.2014, 14:36
Re: i need a script gift - by thefatshizms - 06.10.2014, 14:38
Re: i need a script gift - by andreiu95 - 06.10.2014, 14:45
Re: i need a script gift - by IceBilizard - 07.10.2014, 05:16
Re: i need a script gift - by andreiu95 - 07.10.2014, 11:58
Re: i need a script gift - by Donboo - 01.11.2014, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)