30.03.2012, 14:54
Okay i am working on a DM gamemode but the problem is i want to make a vip command
everything is cool but simple things prevented me from making it i use dcmd
here is the code
Errors
Sorry after all i am a beginner
everything is cool but simple things prevented me from making it i use dcmd
here is the code
Quote:
dcmd_viplocker(playerid,params[]) { #pragma unused params if(!IsPlayerVip(playerid)) return SendClientMessage(playerid,-1, "lol go get some money to be a vip"); if(IsPlayerVip(playerid)) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Enjoy your Vip", "Health \nArmour \npremium weaponpack /n More coming soon", "Okay", "Quit"); return 1; } |
Quote:
C:\Documents and Settings\Solution_\Desktop\Pawn\gamemodes\Karim.pw n(93) : error 017: undefined symbol "IsPlayerVip" C:\Documents and Settings\Solution_\Desktop\Pawn\gamemodes\Karim.pw n(94) : error 017: undefined symbol "IsPlayerVip" C:\Documents and Settings\Solution_\Desktop\Pawn\gamemodes\Karim.pw n(367) : warning 217: loose indentation |