OnPlayerRequestClass
#1

Hi all,
I think i got a problem with a small script.
I saw a script here on the sa-mp forum, that when a certain player comes into the game.
To all the players online they get a message.

This is a part of the script :

pawn Код:
forward Spawn(playerid);

SetTimerEx("Spawn", 2000, 0, "i", playerid);

public Spawn(playerid)
{
new PLName[24];
GetPlayerName(playerid, PLName, 24);
{
if(!strcmp(PLName, "Jiggy", true))
    {
                SendClientMessageToAll(COLOR_LIGHTBLUE, "BOO-YEAH, The Awesome Admin has Arrived FTW!");
                SpawnPlayer(playerid);
                return 1;
        }
return 0;
}
}
but when i use this, i dont got a chance to select a skin.
anyone got a suggestion ?

--- edit: found the problem myself, had to remove "SpawnPlayer(playerid);" ---
Reply
#2

Where do you wanna use the Spawn(playerid) with a Timer?
Reply
#3

You cant choose a skin?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)