01.08.2014, 16:09
HELO ALL
IM HAVE EROOR AND I DONT KNOW WHY!
PLEASE HELP ME
the eroe
the codes
in ondamemode int
in on spawn
the mroe errors its about
IM HAVE EROOR AND I DONT KNOW WHY!
PLEASE HELP ME
Код:
the more eroor its in public OnPlayerCommandText(playerid, cmdtext[])
Код:
error 021: symbol already defined: "Time" error 076: syntax error in the expression, or invalid function call error 076: syntax error in the expression, or invalid function call error 076: syntax error in the expression, or invalid function call error 076: syntax error in the expression, or invalid function call error 076: syntax error in the expression, or invalid function call error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small error 047: array sizes do not match, or destination array is too small
PHP код:
new Text:Time, Text:Date;
PHP код:
//////////////clock///////////////////////
SetTimer("Clock",1000,true);
Date = TextDrawCreate(561.000000, 21.000000," ");
TextDrawFont(Date, 3);
TextDrawLetterSize(Date, 0.340000, 1.700000);
TextDrawColor(Date, 0xFFFFFFFF);
//date//
Time = TextDrawCreate(555.000000, 2.000000," ");
TextDrawFont(Time, 3);
TextDrawLetterSize(Time, 0.470000, 2.299999);
TextDrawColor(Time, 0xFFFFFFFF);
////////////////////////////////////////
PHP код:
TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[128]; new idx; cmd = strtok(cmdtext, idx); new tmp[256]; new tmp2[256]; new pname[MAX_PLAYER_NAME]; new vehicleid=GetPlayerVehicleID(vehicleid); new file[256],text[256],text2[256],name[MAX_PLAYER_NAME],playername[MAX_PLAYER_NAME];