23.03.2014, 14:02
Still the same problem
@ SGT.TheDarkness
@Konstantions i checked and when player type /de - > PlayerInDM[playerid][CS] = 1;
@ SGT.TheDarkness
pawn Код:
public PutInCS(playerid)
{
new Float:x, Float:y, Float:z, Float:angle, csveh;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInDM[i][CS] == 1)
{
GetPlayerPos(i, x,y,z);
GetPlayerFacingAngle(i, angle);
csveh = CreateVehicle(444, x,y,z,angle, 24, 25, -1);
PutPlayerInVehicle(i, csveh, 0);
GameTextForPlayer(i, "~R~ Defeat all your opponents!", 4000, 1);
TogglePlayerControllable(i, true);
}
}
}