SA-MP Forums Archive
Text Shows but i want dynamic pickup! - 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: Text Shows but i want dynamic pickup! (/showthread.php?tid=437905)



Text Shows but i want dynamic pickup! - OpticKiller - 17.05.2013

Hi Everyone today am trying to edit this dealership system etc.


so the issue is whenever i type /createdealership it works all fine but only the text shows up saying dealership then the id of it i want it so its a pickup as well showing not just the text


The Command below need more just ask.

EDIT: 1st one helps gets REP

Код:
CMD:createdealership(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 4 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_GRAD2, NOTADMIN);
	if(!IsPlayerSpawned(playerid)) return SendClientMessage(playerid, COLOR_RED, "You can't use this command now!");
	for(new i=1; i < MAX_DEALERSHIPS; i++)
	{
		if(!DealershipCreated[i])
		{
			new msg[128];
			DealershipCreated[i] = 1;
			GetPlayerPos(playerid, DealershipPos[i][0], DealershipPos[i][1], DealershipPos[i][2]);
			UpdateDealership(i, 0);
			SaveDealership(i);
			format(msg, sizeof(msg), "dealership id %d", i);
			SendClientMessage(playerid, COLOR_WHITE, msg);
			return 1;
		}
	}
	SendClientMessage(playerid, COLOR_RED, "Can't add any more dealerships!");
	return 1;
}



Re: Text Shows but i want dynamic pickup! - Red_Dragon. - 17.05.2013

Another NGRP edit ey' ?


Re: Text Shows but i want dynamic pickup! - OpticKiller - 17.05.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Another NGRP edit ey' ?
are you sure about that

seriously its not a fucking NGRP EDIT! if u want proof i even show you on my skype.


Re: Text Shows but i want dynamic pickup! - Red_Dragon. - 17.05.2013

Calm down man . Okay now you just want the pickup ? or do you mean the old one doesn't show the pickup, only the textdraw ?


Re: Text Shows but i want dynamic pickup! - OpticKiller - 17.05.2013

sorry its just i hate when ppl say my script is a ngg edit when its not

Well the dealership system is here.
https://sampforum.blast.hk/showthread.php?tid=276887


Alright so when i make a dealership its the only 3d textlabel that shows and i want pickup etc. if you do it i even put credit for you on the script for doing that


Photo below shows the text as you do see am wanting it so the pickup comes with it etc.