#1

OnGameModeInit:
pawn Код:
AddPlayerClass(287, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
    AddPlayerClass(280, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
    AddPlayerClass(281, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
    AddPlayerClass(285, 799.4444,1877.2228,4.7060,83.5589, 23, 200, 0, 0, 0, 0);
i see those skins in the request class, but when i spawn, i spawn as CJ...

edit: and i get a shotgun and m4...
Reply
#2

Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
Reply
#3

Quote:
Originally Posted by Don Correlli
Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
well, this is what i have at OnPlayerSpawn, but this must not be a problem as far as i know:

pawn Код:
public OnPlayerSpawn(playerid)
{
{
    new randspawn=random(2);
switch(randspawn)
{
case 1:SetPlayerPos(playerid, 425.5388,2517.6516,19.7864,65.4855);
case 2:SetPlayerPos(playerid, -57.9744,2505.8401,19.7864,182.5996);
}
    return 1;
}
GivePlayerMoney(playerid, 1000);
    return 1;
}
Reply
#4

Quote:
Originally Posted by PANNA
Quote:
Originally Posted by Don Correlli
Check your OnPlayerSpawn-callback for any SetPlayerSkin and GivePlayerWeapon functions or search your script for any SetSpawnInfo function.
well, this is what i have at OnPlayerSpawn, but this must not be a problem as far as i know:

pawn Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerMoney(playerid, 1000);

    new randspawn=random(2);
    switch(randspawn)
    {
    case 1:SetPlayerPos(playerid, 425.5388,2517.6516,19.7864,65.4855);
    case 2:SetPlayerPos(playerid, -57.9744,2505.8401,19.7864,182.5996);
    return 1;
    }
    return 1;
}
EDIT: idk what are u doing in ur codes but 2 opening brackets at start of callback ''OnPlayerSpawn'' is 100 parcent no needed ,for skins check fulls cript as coreli say , SetSpawnInfo,SetPlayerSkin, check all again and if u are using FS check there and delete ''AddPlayerClass'' if there is soemthing like that and i think it should work when u will check the full script again
Reply
#5

OnPlayerStateChange Maybe?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)