Using Player's ID as Virutal World.
#1

Hello there, I think i did something whrong here.

I'm using the player's ID as Virtual World.
As example.

Код:
new vw = GetPlayerID(playerid);

                SetPlayerVirtualWorld(playerid, vw);
                SetVehicleVirtualWorld(DLCar[11], vw);
Well the problem is, when i add this.. The compiler crashes.

I hope somebody could help me out?!
Reply
#2

pawn Код:
SetPlayerVirtualWorld(playerid, playerid);
SetVehicleVirtualWorld(DLCar[11], playerid);
GetPlayerID finds the id of a play by their name ! that's why it crashes but you dont even need it.
Reply
#3

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)