help me in this error!
#1

public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], country[MAX_COUNTRY_NAME], gmt;
new string[256];
GetPlayerName(playerid, name, sizeof(name));
country = GetPlayerCountryName(playerid);
gmt = GetPlayerGMT(playerid);
format(string, sizeof(string), "[JOIN] %s (%s, GMT %d:00)", name, country, gmt);
SendClientMessageToAll(COLOR_GREEN,string);
SendClientMessage(playerid, 0xFFFF00AA,"Please use /register if you dont have an account!");
SendClientMessage(playerid, COLOR_RED,"Use /v to spawn a vehicle, if you need help use /help!");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Welcome to SDC", "Welcome to our server!\nDown here are some commands that can be usefull:\n/v to spawn a car\n/admins to see a list of online admins\n/cmds will show a list of commands\nPress 2 for a car/bike hop\nPress alt to get a speed boost\nPress h to flip your car\nDONT DM outside DM zones, dont hack and have fun!!", "Ok", "");
return 1;

}









This is error:-
C:\Users\vishal\Desktop\New folder (2\GM\gs.pwn(1020) : error 017: undefined symbol "MAX_COUNTRY_NAME"
C:\Users\vishal\Desktop\New folder (2\GM\gs.pwn(1020) : error 029: invalid expression, assumed zero
C:\Users\vishal\Desktop\New folder (2\GM\gs.pwn(1020) : error 017: undefined symbol "gmt"
C:\Users\vishal\Desktop\New folder (2\GM\gs.pwn(1020) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.






is their is anything that i have to define??
Reply


Messages In This Thread
help me in this error! - by PrinXe - 13.07.2014, 09:19
Re: help me in this error! - by Team_PRO - 13.07.2014, 09:22
Re: help me in this error! - by PrinXe - 13.07.2014, 09:24
Re: help me in this error! - by Team_PRO - 13.07.2014, 09:27
Re: help me in this error! - by Dignity - 13.07.2014, 09:31
Re: help me in this error! - by PrinXe - 13.07.2014, 09:34
Re: help me in this error! - by Dignity - 13.07.2014, 09:36
Re: help me in this error! - by BroZeus - 13.07.2014, 09:36
Re: help me in this error! - by Konstantinos - 13.07.2014, 09:38
Re: help me in this error! - by PrinXe - 13.07.2014, 09:40

Forum Jump:


Users browsing this thread: 2 Guest(s)