13.07.2012, 07:43
I want to make a pickup thats can be used by one team but if the other team tries to use it it doesnt work. Could anyone show me an example of how that would work?
public OnPlayerPickupPickUp()
{
// START
// Pickup Code
if(pickup == pickup)
{
if(gTeam[playerid] == Team)
{
Your Code
}
return 1;
}
// END
return 1;
}