Hier mein code:
if(newstate==PLAYER_STATE_DRIVER)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
for(new i=0; i<sizeof(pcarflorian); i++)
{
if(GetPlayerVehicleID(playerid)==pcarflorian[i])
{
if(name="desropter")
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist nicht in der Fraktion!");
}
}
}
}
da bekomme ich nen error:
C:\Users\Hannes\Desktop\GTA server\gamemodes\reallife.pwn(528) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Die zeile 528
if(name="desropter")