Fall Thorugh Ground
#1

Hey,

On my script, On my local server everything works perfect.

But on my serverffs server you fall through the ground on spawn. This makes no sense.

Anyone know why?
Reply
#2

i think serverffs use linux for sa-mp servers, check if there is something that is uncompatible with linux version of sa-mp. such as plugins
Reply
#3

Nah, Not the case,

It's spawning in interiors that the problem.
Reply
#4

erm try to make " SetPlayerInterior " function BEFORE "SetPlayerPos"

i guess that might fix the problem, also make sure that the interior is solid, because some interiors you might fall from them.
Reply
#5

Already tryed that.
Reply
#6

Are you spawning them on user made objects?
Reply
#7

Nope

OnPlayerSpawn
pawn Код:
if(Classid[playerid] == 0 || Classid[playerid] == 1 || Classid[playerid] == 2 || Classid[playerid] == 3 || Classid[playerid] == 4)
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, -180.7331,1034.4825,19.7422);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid,31,350);
        GivePlayerWeapon(playerid,22, 100);
        GivePlayerWeapon(playerid,1, 0);
    }
    if(Classid[playerid] == 5 || Classid[playerid] == 6 || Classid[playerid] == 7 || Classid[playerid] == 8 || Classid[playerid] == 9 || Classid[playerid] == 10)
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 15.7948,1518.3596,13.5336);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid,30,260);
        GivePlayerWeapon(playerid,29,230);
        GivePlayerWeapon(playerid,8, 0);
    }
The coords/interiors aren't the same since I took ou the interior spawning to outside.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)