26.05.2010, 10:02
Quote:
Originally Posted by Grim_
Quote:
Can I see the rest of the callback where that code resides please? |
pawn Код:
SetPlayerSkin(playerid, FarmSkin[random(sizeof(FarmSkin))][0]);
new fRandom = random(sizeof(FarmWarRand));
bringer[playerid] = CreateVehicle(504,FarmWarRand[fRandom][0],FarmWarRand[fRandom][1],FarmWarRand[fRandom][2],FarmWarRand[fRandom][3],colors[random(126)],colors[random(126)],10000);
SetVehicleVirtualWorld(bringer[playerid],RingerWar);
if(!IsPlayerInAnyVehicle(playerid)) PutPlayerInVehicle(playerid,bringer[playerid],0), TogglePlayerControllable(playerid,true);
gTeam[playerid] = TEAM_RINGER;
SetPlayerWorldBounds(playerid, -887.5186, -1261.211, -875.8406, -1342.956);
SetPlayerVirtualWorld(playerid,RingerWar);
SetPlayerColor(playerid,COLOR_STEELBLUE);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,16,15);
GivePlayerWeapon(playerid,25,20);
GivePlayerWeapon(playerid,30,100);
GivePlayerWeapon(playerid,6,1);
InMiniGames[playerid] = 1;
PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
TogglePlayerControllable(playerid,true);