11.12.2010, 17:45
i have 1 error with teleport pickup who can help me
What is the probblem who can help me
pawn Код:
new teleportpickup;
new teleportpickup1;
pawn Код:
teleportpickup = CreatePickup(1276,1, 318.30764770508, -2247.7016601563, 19.656326293945);
teleportpickup1 = CreatePickup(1210,1,967.01745605469, -53.267635345459, 1000.6781005859);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == teleportpickup)
{
SetPlayerPos(playerid,964.76715087891,-53.326801300049,1000.6781005859);
}
if(pickupid == teleportpickup1)
{
SetPlayerPos(playerid,319.6847,-2247.5776,23.1755);
return 1;
}