Marker
#1

Hey guys how add something in a marker like only for an skin?
some firefighter go to an marker(in his base) and he can refuel his fire ammo ??
Reply
#2

PHP код:
public OnPlayerEnterCheckpoint(playerid// This callback is called when a player enters a checkpoint.
{
    if(
GetPlayerSkin(playerid) == 277// Here we are checking if the playerid's skin is 277 which is the fire fighter skin.
    
{
        
GivePlayerWeapon(playerid,421200); // Here we are giving the player the fire extinguisher(ID:42).
    
}
             else 
// If he is not a Fire Fighter.
    
{
        
SendClientMessage(playerid,-1,"You must be a fire fighter to use this checkpoint!");// Here we are sending him a message saying that he must be a Fire Fighter to use this checkpoint.
    
}
    return 
1;

Change the weapon to any weapon ID you want and change the skin ID if you want.
Reply
#3

but what to do if i got more markers??
Reply
#4

use Streeamer.
Reply
#5

i meen an circle where u go up and choose an gun and armor?? for more checkpoints
And ****** I read u topic can u help me i go SII and Y_ini But i register but he dont save it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)