Problem with pickups. (but i'm not sure) 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: Problem with pickups. (but i'm not sure) help! (
/showthread.php?tid=130266)
Problem with pickups. (but i'm not sure) help! -
sass839 - 26.02.2010
Hi! (again)

I gotta problem, that i have materials smuggler job in gm, but it's so stupid, you'll have to pickup materials and than have to walk to red circle or marker, but i would like to change it to pickup that letter "i" or something and if you want to drop off materials you have to write command like /mimport , not that you just walk to circle and everythings ok. But how can i change it to " i " and how can i add command on that " i " ? Please help!
Re: Problem with pickups. (but i'm not sure) help! -
sass839 - 26.02.2010
Please someone!

If you dont understand what i'm saying than tell me, and i'll explain!
Re: Problem with pickups. (but i'm not sure) help! -
[LSR]State_Trooper - 26.02.2010
You can not add a command eg /1234 into a pickup. Its not possible, How ever it ios possible to set something under the pickup. EG:
Код:
if ( pickupid == pk_LSFDA )
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,1494.4303,1305.9077,1093.2891);
SendClientMessage(playerid,COLOR_GREEN,"Welcome to the Los Santos Fire Department.");
SendClientMessage(playerid,COLOR_GREY,"LSFD District Two Operations Command.");
SendClientMessage(playerid,COLOR_GREY,"Jurisdiction: Los Santos.");
SendClientMessage(playerid,COLOR_GREY,"Battallion 7");
SetPlayerFacingAngle(playerid,344.6639);
SetPlayerVirtualWorld(playerid,5);
}