23.08.2010, 23:33
(
Последний раз редактировалось jiggy89; 23.08.2010 в 23:47.
)
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 :
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);" ---
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;
}
}
anyone got a suggestion ?
--- edit: found the problem myself, had to remove "SpawnPlayer(playerid);" ---