14.03.2014, 09:18
Can someone make a script for me now i will explain
this is my current code
I can't make a dialogid == 1
co'z i'am having a f*cking errors with that everytime i put this
Can some make a script only in dialogid == 1
And add all of this in listitem under dialogid and [pDonator] that is my code for VIP's
VIP HEAL
VIP ARMOR
VIP Weapons
if he choose VIP weapons he will have another dialog box and list of guns
SPAS-12
M4A1
Sniper
Sawn-Off Shotgun
and other VIP Guns
etc...
I promise i will +rep you.
NOTE : PLEASE GIVE THE CODE OF ALL I REQUEST TO YOU AND PLEASE DO NOT GIVE A F*CKING F*CKING REPLY without any relation on what i want
this is my current code
PHP код:
CMD:viplocker(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 3.0, 1416.7363, -1680.0768, 13.5469)) return SendClientMessage(playerid,-1, "Error: You're not near the locker."); //seeing if a player is in range of x, y, z. If not, send the message.
if(PlayerInfo[playerid][pDonator] > 1) //Checking to see if their a vip. //VIP LOCKER credits to: rangerxll
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "VIP Locker", "VIP Heal\nVIP Armor\nVIP Weapons", "Select", "Cancel"); //showing the locker menu.
}
return 1;
}
co'z i'am having a f*cking errors with that everytime i put this
PHP код:
if(dialogid == 1)
{
if(response)
{
if(PlayerInfo[playerid][pDonator]==1)
}
if (listitem == 1)
{
GivePlayerHeal(playerid, 100);
format(string, sizeof(string), "* %s has got full HP", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
}
}
And add all of this in listitem under dialogid and [pDonator] that is my code for VIP's
VIP HEAL
VIP ARMOR
VIP Weapons
if he choose VIP weapons he will have another dialog box and list of guns
SPAS-12
M4A1
Sniper
Sawn-Off Shotgun
and other VIP Guns
etc...
I promise i will +rep you.
NOTE : PLEASE GIVE THE CODE OF ALL I REQUEST TO YOU AND PLEASE DO NOT GIVE A F*CKING F*CKING REPLY without any relation on what i want