02.05.2012, 17:24
Quote:
|
pawn Код:
|
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == prisonInt) // if you have different prisonInt then change it.
{
// your other functions like set position
SetPlayerPos(playerid, X, Y, Z); // change x, y and z of your own.
}
return 1;
}
pawn Код:
SetPlayerPos(playerid,Float:x,Float:y,Float:z); // the playerid is clearly understandable. Float:x is the X-coordinate to set the player at and the Float:y and Float:z are the same as Float:x (i mean they work same as x but different coordinations)
Original Link: https://sampwiki.blast.hk/wiki/SetPlayerPos
-FalconX


