Jump to content

Question

Posted

Dupa Gm Ravens Am Incercat Sa Fac si eu un Train Sistem la Arme am Reusit Merge Bine Pana La Un Anume Punc

si adica sciptu-l urmator

if(IsPlayerInRangeOfPoint(playerid,5,300.5705,-134.0464,1004.0625))
	{
		if(PlayerInfo[playerid][pAmmuTrainTime] == 0)
		{
                    new weapon[] = "Desert Deagle\nSMG MP5\nAK-47\nM4"
		    ShowPlayerDialog(playerid,0,2,"What U Need Train",weapon,"Train","Cancel");
		    return 1;
		}
		else
		{
		    format(string, sizeof(string), "ERROR: You must wait %d Seconds before you can get a training",PlayerInfo[playerid][pAmmuTrainTime]);
		    SendClientMessage(playerid, COLOR_GREY, string);
		    return 1;
		}
	}
la acest scipt imi da erore la linia 4667 eroarea find (4667) : error 001: expected token: ";", but found "-identifier-" iar linia 4667 e
ShowPlayerDialog(playerid,0,2,"What U Need Train",weapon,"Train","Cancel");

va rog mult ajutatima

4 answers to this question

Recommended Posts

Posted
if(IsPlayerInRangeOfPoint(playerid,5,300.5705,-134.0464,1004.0625))
	{
		if(PlayerInfo[playerid][pAmmuTrainTime] == 0)
		{
                    new weapon[] = "Desert Deagle\nSMG MP5\nAK-47\nM4";
		    ShowPlayerDialog(playerid,0,2,"What U Need Train",weapon,"Train","Cancel");
		    return 1;
		}
		else
		{
		    format(string, sizeof(string), "ERROR: You must wait %d Seconds before you can get a training",PlayerInfo[playerid][pAmmuTrainTime]);
		    SendClientMessage(playerid, COLOR_GREY, string);
		    return 1;
		}
	}

Posted

Ms man merge (Spunemi ce ai facut ca numi dau seama) +1

Aici:

new weapon[] = "Desert Deagle\nSMG MP5\nAK-47\nM4"

ai uitat sa pui ; la sfarsit

-->

new weapon[] = "Desert Deagle\nSMG MP5\nAK-47\nM4";
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.