Gang System Help
#1

Hey samp forum, i want to make a system for my gang's like if the player is an official member of "Grove" he can drive grove street car's if not he can't and i need an /makeleader cmd and an /invite and /gkick to kick the member out of the gang..

I define my gangs like this:

pawn Код:
public SetPlayerTeamFromClass(playerid, classid)
{
    switch(classid)
    {
         case 0:
         {
             gTeam[playerid] = Grove;
             SetPlayerPos(playerid,2520.2805,-1661.7422,14.4388);
             SetPlayerCameraPos(playerid, 2518.0984,-1662.1184,14.2107);
             SetPlayerCameraLookAt(playerid,2520.2805,-1661.7422,14.4388);
             SetPlayerFacingAngle(playerid,94.8389);
             GameTextForPlayer(playerid, "~y~Grove Street Families", 3000, 5);
         }
         case 1..2:
         {
             gTeam[playerid] = Seville;
             SetPlayerPos(playerid,2765.3560,-2012.0973,13.5620);
             SetPlayerCameraPos(playerid,2768.0066,-2012.0149,13.5547);
             SetPlayerCameraLookAt(playerid,2765.3560,-2012.0973,13.5620);
             SetPlayerFacingAngle(playerid,269.3739);
             GameTextForPlayer(playerid, "~y~Seville Boulevard Families", 3000, 5);
         }
Is it possible to make it with an enum? or something? I'm new to scripting and dont know much about that.. Can you help me ?
Reply


Messages In This Thread
Gang System Help - by Santox14 - 25.04.2012, 16:43
Re: Gang System Help - by 404 Not Found - 25.04.2012, 16:54
AW: Gang System Help - by Santox14 - 25.04.2012, 16:58
Re: Gang System Help - by 404 Not Found - 25.04.2012, 17:27
AW: Gang System Help - by Santox14 - 26.04.2012, 07:48
AW: Gang System Help - by Santox14 - 26.04.2012, 11:21

Forum Jump:


Users browsing this thread: 4 Guest(s)