07.01.2010, 20:20
@BP13: Remove the ; from OnPlayerPickUpDynamicPickup(playerid, pickupid);
---
@Serg: I did exactly what you said. This is my code I'm always using:
And I'm falling through the ground in 50% of all case I spawn at my mapped island.
---
@Serg: I did exactly what you said. This is my code I'm always using:
pawn Код:
public SetPlayerPosEx(playerid,Float:x,Float:y,Float:z,Float:angle,interior)
{
if(IsPlayerConnected(playerid))
{
StuntInfo[playerid][sExitedVehicle]=false;
TeleportData[playerid][tImmunity]=ServerVariables[MAX_IMMUNITY];
SpeedInfo[playerid][sLastPos][0]=x;
SpeedInfo[playerid][sLastPos][1]=y;
SpeedInfo[playerid][sLastPos][2]=z;
SetPlayerPos(playerid,x,y,z);
SetPlayerFacingAngle(playerid,angle);
SetPlayerInterior(playerid,interior);
Streamer_UpdateObjects(playerid);
return 1;
}
return 0;
}