SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP!!!!!!! (/showthread.php?tid=171905)



HELP!!!!!!! - FireCat - 28.08.2010

I DONT GET WHY!!!!!! iv even made this on another filterscript, separated them get the same problem!!!!!!
like when someone picks up a briefcase it gives them a deagle with 4 bullets + cash and on my parkour mission there is a cash pickup if they pickit up tthey get cash i even puted the briefcase in another filterscript and deleted from the gamemode but get the same problem why!!!!
here i pickedup the briefcase but it sends them the message from parkour and the briefcase



Код:
{
    if(pickupid == cash)
	GivePlayerMoney(playerid,500000);
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s has completed the parkour mission and received 50000$",name);
	SendClientMessageToAll(COLOR_RED, string);
    return 1;
}
Код:
{
    if(pickupid == briefcase)
	GivePlayerMoney(playerid,500000);
	GivePlayerWeapon(playerid, 24,4);
	new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s has found a briefcase",name);
	SendClientMessageToAll(COLOR_RED, "and received 500000$ + a deagle");
    SendClientMessageToAll(COLOR_RED, string);
	return 1;
}
_______________________
[GDZ]leader



Re: HELP!!!!!!! - Adil - 28.08.2010

I don't get what you're trying to say, what same problem are you talking about?


Re: HELP!!!!!!! - FireCat - 28.08.2010

like i made pickups when someone gets any pickup it send them all clientmessages from any pickup ex: on this i pickedup the briefcase pickup i have cash and briefcase pickups i pickedup briefcase and it sended clientmessage from cash pickup and briefpickup i just want it to send brief pickup and the codes a separated


Re: HELP!!!!!!! - FireCat - 28.08.2010

fixed no problem admins can delete this topic