Quote:
Originally Posted by SumX
SOLVED,it's right?... i've compiled it and i dont have any warnings,errors
pawn Код:
if(strcmp(cmd, "/vhelp", true) == 0) { new GMstring[128];
if(PlayerInfo[playerid][pVIP] >= 1)return SendClientMessage(playerid, red, "You must have a V.I.P. Account to use this command! "); { strcat( GMstring, "{FFD700}/vhelp\t\t\t{FFD700}/vrespawn\n" ); strcat( GMstring, "{FFD700}/vips\t\t\t{FFD700}/vgoto\n" ); strcat( GMstring, "{FFD700}/vnos\t\t\t{FFD700}/vgethere\n" ); strcat( GMstring, "{FFD700}/sultantune\t\t{FFD700}/vweapons\n" ); strcat( GMstring, "{FFD700}/jestertune\t\t{FFD700}/vammo\n" ); strcat( GMstring, "{FFD700}/elegytune\t\t{FFD700}/vclub\n" ); strcat( GMstring, "{FFD700}/othertune\n" ); strcat( GMstring, "{FFD700}Use '/vc' in front of text.This is the V.I.P. chat." ); ShowPlayerDialog( playerid, VIPCMDS, DIALOG_STYLE_MSGBOX, "V.I.P. Commands:", string, "Quit", "" ); } return 1; }
|
Only way to find out if it works is to test it out IG. Let us know how it goes.