how do i make this?
#4

pawn Код:
public OnPlayerConnect(playerid)
{
    SetPlayerCheckpoint(playerid, Float:cp_x, Float:cp_y, Float:cp_z, 5.0);// keep in mind only one checkpoint
    return 1;                                                              //can be shown to a player at any one time.
}                                                                          //So try to find a streamer that will stream them for you.


public OnPlayerEnterCheckpoint(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 5.0,Float:cp_x, Float:cp_y, Float:cp_z))
        GameTextForPlayer(playerid, "HELLO!", 3000, 3);
       
    return 1;
}
You will obviously need to add your co-ordinates.
Reply


Messages In This Thread
how do i make this? - by hadzx - 15.01.2011, 08:46
Re: how do i make this? - by Steven Paul - 15.01.2011, 08:57
Re: how do i make this? - by hadzx - 15.01.2011, 09:09
Re: how do i make this? - by iggy1 - 15.01.2011, 09:14
Re: how do i make this? - by hadzx - 15.01.2011, 09:17
Re: how do i make this? - by iggy1 - 15.01.2011, 09:19
Re: how do i make this? - by iggy1 - 15.01.2011, 09:21
Re: how do i make this? - by iggy1 - 15.01.2011, 09:23
Re: how do i make this? - by hadzx - 22.01.2011, 19:47
Re: how do i make this? - by WillyP - 22.01.2011, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)