Spawn name while spawning
#8

Quote:
Originally Posted by Mean
Посмотреть сообщение
IsPlayerInRangeOfPoint should do the work

like
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, los, santos, spawn, 15))
    {
        SendClientMessage(playerid, COLOR, "You spawned in Los Santos");
    }
    if(IsPlayerInRangeOfPoint(playerid, san, fierro, spawn, 15))
    {
        SendClientMessage(playerid, COLOR, "You spawned in San fierro");
    }
    // And so on...
    return 1;
}
Replace these los, santos, spawn with X, Y and Z of thoose spawns, and replace the COLOR.
And what is the 15?
And where can I change the angle?

Quote:
Originally Posted by Mikkel_Pedersen
Посмотреть сообщение
When you're saying it doesn't work, do you mean that it compiles with errors, or that it shows something else in the chat in the server? I got an idea why it could be showing some numbers instead of the actual name, but I want to hear what exactly isn't working before replying with a possible helpful reply.
Its just doesn't do anything when I am typing /ls /sf /lv etc..
Reply


Messages In This Thread
Spawn name while spawning - by nuriel8833 - 22.12.2010, 17:55
Re: Spawn name while spawning - by Krx17 - 22.12.2010, 18:00
Re: Spawn name while spawning - by nuriel8833 - 22.12.2010, 18:01
Re: Spawn name while spawning - by nuriel8833 - 23.12.2010, 16:47
Re: Spawn name while spawning - by [JnA]DukeNukem - 23.12.2010, 16:55
Re: Spawn name while spawning - by nuriel8833 - 23.12.2010, 16:58
Re: Spawn name while spawning - by Mean - 23.12.2010, 17:13
Re: Spawn name while spawning - by nuriel8833 - 23.12.2010, 17:19
Re: Spawn name while spawning - by Mikkel_Pedersen - 23.12.2010, 17:25
Re: Spawn name while spawning - by Mean - 24.12.2010, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)