Need help with my [GM]
#1

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
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;
}

Errors
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

Sorry after all i am a beginner
Reply


Messages In This Thread
Need help with my [GM] - by [GF]Logic - 30.03.2012, 14:54
Re: Need help with my [GM] - by [GF]Logic - 30.03.2012, 15:01
Re: Need help with my [GM] - by BigD - 30.03.2012, 15:06
Re: Need help with my [GM] - by sjvt - 30.03.2012, 15:06

Forum Jump:


Users browsing this thread: 2 Guest(s)