What's wrong?
#8

Quote:
Originally Posted by Thewin
Посмотреть сообщение
Код:
 (strcmp(PlayerInfo[playerid][playerteam],Vehicles[vehicleid][carteam],false))
change to

Код:
strcmp(PlayerInfo[playerid][playerteam],Vehicles[vehicleid][carteam],false)
the line would be

Код:
if(strcmp(PlayerName(playerid),Vehicles[vehicleid][carowner],false) && strcmp(PlayerInfo[playerid][playerteam],Vehicles[vehicleid][carteam],false) && strcmp(Vehicles[vehicleid][carowner], "Unity_Station") && strcmp(Vehicles[vehicleid][carowner], "Truck_Depot") && strcmp(PlayerName(playerid),Vehicles[vehicleid][dupekey],false))
and only returns the message when all the conditions are met because ure using "&& (AND)"
People with playerteam 7 still can't toggle the engine
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)