so sieht mein onplayerexitvehicle aus
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(playerMessageMotorschade[playerid] == false)
{
playerMessageMotorschade[playerid] == true;
}
if (GetPlayerState(playerid) == 1)
{
return 1;
}
if(gGas[playerid] == 1)
{
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~Left car", 500, 3);
}
if(speedcount[playerid] > 0)
{
speedcount[playerid] = 0;
}
TogglePlayerControllable(playerid,1);
return 1;
}
C:\Users\JuliaN\Desktop\SAMP\gamemodes\Force.PWN(5130) : warning 213: tag mismatch
C:\Users\JuliaN\Desktop\SAMP\gamemodes\Force.PWN(5132) : warning 213: tag mismatch
habe es jetzt auch so gemacht
if(playerMessageMotorschade[playerid] == 1) { playerMessageMotorschade[playerid] = 0; }
geht trotzdem nicht
//editwas eingefügt
//edit wanrings eingefügt