15.08.2009, 16:00
Ok cool now its working! when i am not in a taxi it say You are not in a Taxi. and when i am in a taxi it say You Are In A Taxi... But when i am in an other vehicle it say nothing... Why? look my code:
Код:
if(strcmp(cmdtext, "/testcmds", true, 5) == 0) {
if(IsPlayerInAnyVehicle(playerid))
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420){
SendClientMessage(playerid,0xAA3333AA,"You Are In A Taxi.");
}
}
else
{
SendClientMessage(playerid,0xAA3333AA,"You Are Not In A Taxi.");
}
return 1;
}

