Vortex Roleplay 2 business cmd help
#1

can someone please help me understand this cmd /createbusiness[interior exit complete] i tryed tryping in a bunch of things but it wont work and i am loged into rcon i also posted on the vortex thread but no reply
Reply
#2

CreateDynamicPickup, OnPlayerPickUpPickup, SetPlayerPos, CMD:buy, etc.
You should be able to generalize it.
Reply
#3

can you show me a sample code so i would understand it more

/createbusiness[interior exit complete]
Reply
#4

beacuse i kno what ints and shit are but it must be the way im putting them in
Reply
#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
#6

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)