Doing something wrong... (gTeam pls help me out) (SAVING SYSTEM)
#2

well add this
switch(classid)//so it can see each class
{
case 0
{
gTeam[playerid] = Crips;
GameTextForPlayer(playerid,"~b~Sweet Leader of Ganton Crips",3000,5); // This will show up an Text , when you select your class
SetPlayerPos(playerid,2522.6702,-1679.2592,15.4970); // position of the player in the class selection
SetPlayerColor(playerid, 0xABCDEF01);
gTeam[playerid] = INI_WriteString(file,"Leader",pInfo[playerid][Leader]);
SetPlayerInterior(playerid, 0);
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 1, 0, 0);
SetPlayerFacingAngle( playerid, 90);
InterpolateCameraPos(playerid, 2515.281005, -1667.024658, 15.931215, 2519.318359, -1679.087890, 14.937871, 5000);
InterpolateCameraLookAt(playerid, 2520.151123, -1668.140869, 16.118671, 2524.208007, -1679.387695, 15.938873, 3000);
}
case 1
{
//for your second class add everything of crips here except makeing him leader
}
}
}
Reply


Messages In This Thread
Doing something wrong... (gTeam pls help me out) (SAVING SYSTEM) - by Scrillex - 23.10.2012, 00:02
Re: Doing something wrong... (gTeam pls help me out) (SAVING SYSTEM) - by Abhishek. - 23.10.2012, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)