i need a script gift
#5

if(!strcmp(cmdtext, "/cadou", true))
{
new string4[658], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
strcat(string4, "Key activated: cadou\n");
strcat(string4, "\n");
strcat(string4, "In this key you will have:\n");
strcat(string4, "\n");
strcat(string4, "3000000$\n");
strcat(string4, "2 Level");
ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Gift:", string4, "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)