09.10.2018, 19:38
I just read the code and i thought: What the hell is happening to my life
pawn Code:
CMD:vipcmds(playerid, params[])
{
new info[250];
switch (PlayerInfo[playerid][dRank])
{
case 1:
{
strcat(info, "Vip Commands (Level 1):\n\n");
strcat(info, "{084B8A}/vheal ,/varmour ,/vheli ,/vskin ,/vcar\n");
strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos ,/vboat\n");
}
case 2:
{
strcat(info, "Vip Commands (Level 2):\n\n");
strcat(info, "{084B8A}/vheal ,/varmour ,/vheli ,/vskin ,/vcar ,/vbike\n");
strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos\n");
strcat(info, "/vcolor ,/vson ,/vsoff ,/vboat ,/armedvon ,/armedvoff\n");
}
case 3:
{
strcat(info, "Vip Commands (Level 3):\n\n");
strcat(info, "{0080FF}/vheal ,/varmour ,/vheli ,/vskin ,/vcar ,/vbike\n");
strcat(info, "/fr ,/v ,/vtime ,/vweather ,/vweap ,/vnos ,/vfix ,/vBoost\n");
strcat(info, "/vcolor ,/vammo ,/vson ,/vsoff ,/vboat ,/armedvon ,/armedvoff\n");
}
}
ShowPlayerDialog(playerid, 5050, DIALOG_STYLE_MSGBOX, "VIP Commands", info, "Close", "");
return 1;
}