Vortex Roleplay 2 business cmd help
#5

pawn Код:
new p;
CMD:createbiz(playerid,params[])
{
              //Your conditions here
else
{
new Float:x,
      Float:y,
      Float:z;
GetPlayerPos(playerid,x,y,z);
p = CreateDynamicPickup(.....x,y,z..);
}
return 1;
------------------------------------
public OnPlayerPickUpDynamicPickup(playerid, pickupid);
{
if(pickupid==p)
//Set position, interior and things..
return 1;
}
Now, that wasn't hard, is it?
Reply


Messages In This Thread
Vortex Roleplay 2 business cmd help - by Matthew_Garrowo - 15.12.2012, 01:32
Re: Vortex Roleplay 2 business cmd help - by maramizo - 15.12.2012, 02:21
Re: Vortex Roleplay 2 business cmd help - by Matthew_Garrowo - 15.12.2012, 02:54
Re: Vortex Roleplay 2 business cmd help - by Matthew_Garrowo - 15.12.2012, 03:31
Re: Vortex Roleplay 2 business cmd help - by RajatPawar - 15.12.2012, 05:37
Re: Vortex Roleplay 2 business cmd help - by Matthew_Garrowo - 15.12.2012, 07:02

Forum Jump:


Users browsing this thread: 1 Guest(s)