CreatePickup < Scripting Help
#1

------------------
Reply
#2

Код:
CreatePickup(1318, 1, 282,1480.7358,-1736.2330,13.3828,37.5772, -1);
Try this maybe, all I did was set the virtual world for it set in all virtual worlds.
Reply
#3

I just realized you have to many arguments, it should be something like this.
Код:
(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
So try removing this:
Код:
282,
And:
Код:
37.5772,
End result:
Код:
 Bank = CreatePickup(1318, 1, 1480.7358, -1736.2330, 13.3828, -1);
Reply
#4

------
Reply
#5

pawn Код:
Bank = CreatePickup(1318, 1 ,1480.7358, -1736.2330, 13.3828, GetPlayerVirtualWorld(playerid));
How about this?
Reply
#6

------
Reply
#7

Did you do a debug to see if the code is running?
Reply
#8

is it under Gamemodeinit or is it called in a function or something
Reply
#9

------
Reply
#10

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
Well i don't know how to do that :P


It's under public OnPlayerConnect(playerid).
Change to under OnGamemodeInit
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)