[pomoc]eventi

Započeo Quilound_Williams, April 15, 2012, 09:38:30 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Quilound_Williams

Skripta koju koristim:CLRP(edit)
Detaljan opis problema:Vako imam jedan CLRP edit i eventi su promjenjeni nije ono /eventi i /join vec ja stvorim auta i sve to je sve ok ali kad pozovem igrace i start markeri se samo meni pokazuju nepokazuju se njimo molim vas pomozitee
Dio skripte:ev cmd start neznam gdje je ostatak nmg naci
if(strcmp(cmd, "/start", true) == 0)
	{
		if(IsPlayerConnected(playerid))
    	{
			if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameSage] >= 1)
    		{
				ShowPlayerDialog(playerid,239,DIALOG_STYLE_LIST ,"Eventi","Cross Trka\nTourLC\nForest Race\nMonster Ring\nSurvivor\nCR vs. NGR Race\nLV Freeway Race","Odaberi","Odustani");
        	}
        }
        return 1;
komanda za pozivanje
if(strcmp(cmd, "/invitetorace", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /invitetorace [ID Igraca/Dio Imena] [Broj(1-5)]");
				SendClientMessage(playerid, LIGHTRED, "|_________________________________________________________________________________|");
				SendClientMessage(playerid, 0x33CCFFAA, "1.Cross Trka|| 2.TourLC || 3.ForestRace || 4.Monster Ring || 5. Survivor || 6. CR vs. NGR");
				SendClientMessage(playerid, 0x33CCFFAA, "7.LV Freeway Race");
				SendClientMessage(playerid, LIGHTRED, "|_________________________________________________________________________________|");
				return 1;
			}
			new para1;
			new level;
			new race[20];
			para1 = ReturnUser(tmp);
			tmp = strtok(cmdtext, idx);
			level = strval(tmp);
			if(level > 7 || level < 0) { SendClientMessage(playerid, COLOR_GREY, "Nemojte ispod 0, ili preko 7!"); return 1; }
			if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameSage] >= 1)
			{
			    if(IsPlayerConnected(para1))
			    {
			        if(para1 != INVALID_PLAYER_ID)
			        {
						/*if(level == "1") { mchilladpocetak = 1; race = "Cross Trku"; }
						else if(level == "2") { tourlcpocetak = 1; race = "TourLC"; }
						else if(level == "3") { forestpocetak = 1; race = "Forest Race"; }
						else if(level == "4") { bhellpocetak = 1; race = "Monster Ring"; }
						else if(level == "5") { survivorpocetak = 1; race = "Survivor"; }*/
						
						if(level == 1)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "Cross Trku";
						}
						else if(level == 2)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "TourLC";
						}
						else if(level == 3)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "Forest Race";
						}
						else if(level == 4)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "Monster Ring";
						}
						else if(level == 5)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "Survivor";
						    SafeGivePlayerWeapon(playerid,4,300);
						}
						else if(level == 6)
						{
						if(PlayerInfo[para1][pMember]==14 || PlayerInfo[para1][pLeader]==14 || PlayerInfo[para1][pMember]==16 || PlayerInfo[para1][pLeader]==16)
							{
							    PlayerInfo[para1][pUtrka] = 1;
							    race = "CR vs. NGR";
							}
							else {SCM(playerid,COLOR_GRAD1,"Na ovu Utrku mozes pozvati samo Clanove/Lidere NGR-a i CR-a !");}
						}
						else if(level == 7)
						{
						    PlayerInfo[para1][pUtrka] = 1;
						    race = "LVFR";
						}
						GetPlayerName(para1, giveplayer, sizeof(giveplayer));
						GetPlayerName(playerid, sendername, sizeof(sendername));
						format(string, sizeof(string), "* Pozvan si na %s | Od Admina: {FFFFFF}%s", race,sendername);
						SendClientMessage(para1, SVETLOPLAVA, string);
						format(string, sizeof(string), "* Pozvao si %s-a na {FFFFFF} | %s.", giveplayer,race);
						SendClientMessage(playerid, ZELENKASTA, string);
					}
				}//not connected
			}
			else
			{
				SendClientMessage(playerid, WHITE, " Niste ovlasteni da koristite tu komandu.");
			}
		}
		return 1;

Neke slike/video za lakse dobivanje pomoci(neobavezno):