[Tag] Help.
#1

Guys, Im going to Create a simple script.

Need some help.

Like a specific voodoo is spawned in GS hood and only guys with [GS] tag уn Can USE The Car?


Help please!
Reply
#2

OnPlayerChangeState , Check if the player is entering the driver seat..
If he is
GetPlayerTeam.. if team = Grove team
return 1;
}
else
{
return 0;
Reply
#3

Someone give a full code?

Pay 3$? Pls help
Reply
#4

Top Of Script
pawn Код:
new Lynet;
In Ongamemodeinit
pawn Код:
Lynet = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
In OnPlayerStateChange
pawn Код:
new PlayerName[24];
  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

  if(newstate == PLAYER_STATE_DRIVER)
  {
   new Vehicle = GetPlayerVehicleID(playerid);
   if(Vehicle == Lynet)
   {
     if(strcmp(PlayerName,"[GSF]Lynet",true))
     {
      RemovePlayerFromVehicle(playerid);
      SendClientMessage(playerid, 0x33AA33AA, "I'm sorry, but this car has been reserved for [GSF]Lynet");
     }
   }
  }
Reply
#5

Not that....

Like if i not wear [GSF] tag Then i cant drive the car?
Reply
#6

WHO Can solve this.

I'll pay 13$!
Reply
#7

Bump
Reply
#8

you got your answer, this isn't a market place, it's for people that want to learn and need help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)