13.06.2016, 07:58
I made this command >
But, I found this Error >
How To Fix This Error?
Please Tell Me Who Know My Problem Solution...
Thanks And God Bless You All
PHP код:
CMD:hghome(playerid,params[]) {
#pragma unused params
if(PlayerInfo[playerid][HGRank] >= 1);
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid,COLOR_BRIGHTRED,"You cannot escape your punishment!");
TeleTimer[playerid] = SetTimerEx("ttimer", 1000, true, "i",playerid);
tseconds[playerid] = 6;
format(tstring,45,"You Must wait %d seconds before teleporting", tseconds[playerid]-1);
if(PlayerInfo[playerid][Level] == 0) SendClientMessage(playerid,COLOR_LIGHTBLUE, tstring);
Tx[playerid] =239.6844;
Ty[playerid] =1860.2457;
Tz[playerid] =14.0840;
Ti[playerid] = 0;
new string[128];
new dsname[MAX_PLAYER_NAME];
format(telestring[playerid],43,"HG Base!");
GetPlayerName(playerid, dsname, sizeof(dsname));
format(string, sizeof(string), "[INFO]: {4169FF}%s has Teleported To HG Members Base", dsname);
SendClientMessageToAll(red, string);
ShowPlayerDialog( playerid, DIALOGID3+24, DIALOG_STYLE_LIST, "Vehicle Types", "Bikes\nConvertibles\nIndustrial\nLowriders\nOff Road\nPublic Service Vehicles\nSaloons\nSport Vehicles\nStation Wagons", "Select", "Cancel" );
return SetTimerEx("setstunt",3000,0,"i", playerid);
} else return SendClientMessage(playerid,red, "ERROR: You must be HG Member to use this command.");
}
Код:
F:\GAME\SA-MP Server\HGTDM~RP\Gamemodes\HGTDM~RP.pwn(52037) : error 036: empty statement F:\GAME\SA-MP Server\HGTDM~RP\Gamemodes\HGTDM~RP.pwn(52055) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Please Tell Me Who Know My Problem Solution...
Thanks And God Bless You All