SA-MP Forums Archive
zgaming event help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: zgaming event help (/showthread.php?tid=399520)



zgaming event help - MichaelWharton101 - 14.12.2012

I am trying to add one thing to the event, It would be event skin... but I only got part of it so far and need help with the rest

Код:
	else if(!strcmp(option, "skin", true, 6))
	{
	    if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "/seteventinfo skin [skinid]");
     	EventSkin = amount;
	    format(string, sizeof(string), " You have set the event's Skin to %d.", amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

	}



Re: zgaming event help - Horrible - 15.12.2012

Quote:
Originally Posted by MichaelWharton101
Посмотреть сообщение
I am trying to add one thing to the event, It would be event skin... but I only got part of it so far and need help with the rest

Код:
	else if(!strcmp(option, "skin", true, 6))
	{
	    if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "/seteventinfo skin [skinid]");
     	EventSkin = amount;
	    format(string, sizeof(string), " You have set the event's Skin to %d.", amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

	}
so what is your problem and what do you want ? explain it more.


Re: zgaming event help - maramizo - 15.12.2012

http://pastebin.com/hvgHPtEC
What's wrong with that code, that I gave you earlier?


Re: zgaming event help - MichaelWharton101 - 15.12.2012

I posted this before I got help from you.