What's wrong?
#7

Uh, if they are integrer u cant use strcmp, strcmp only compare two strings, u need compare the vars directly like:

Код:
PlayerInfo[playerid][playerteam] != Vehicles[vehicleid][carteam]
the line would be like

Код:
if(strcmp(PlayerName(playerid),Vehicles[vehicleid][carowner],false) && PlayerInfo[playerid][playerteam] != Vehicles[vehicleid][carteam] && strcmp(Vehicles[vehicleid][carowner], "Unity_Station") && strcmp(Vehicles[vehicleid][carowner], "Truck_Depot") && strcmp(PlayerName(playerid),Vehicles[vehicleid][dupekey],false))
Reply


Messages In This Thread
What's wrong? - by justjamie - 08.04.2016, 15:45
Respuesta: What's wrong? - by Thewin - 08.04.2016, 15:49
Re: Respuesta: What's wrong? - by justjamie - 08.04.2016, 15:50
Respuesta: What's wrong? - by Thewin - 08.04.2016, 15:51
Re: Respuesta: What's wrong? - by justjamie - 08.04.2016, 15:54
Respuesta: What's wrong? - by Thewin - 08.04.2016, 16:07
Respuesta: What's wrong? - by Thewin - 08.04.2016, 16:13
Re: Respuesta: What's wrong? - by justjamie - 08.04.2016, 16:13
Respuesta: What's wrong? - by Thewin - 08.04.2016, 16:16
Respuesta: What's wrong? - by Thewin - 08.04.2016, 16:19
Re: Respuesta: What's wrong? - by justjamie - 08.04.2016, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)