04.06.2012, 20:44
How to make when player enter in the gsf vehicle to say "You Dont Have Keys from this vehicle" i make something but didnt work look what i made
Код:
new gsf1 gsf = AddStaticVehicle(Co-ordinates bla bla....) public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); new vehicle; vehicle = GetPlayerVehicleID(playerid); if(vehicle == gsf1) { if(!strcmp(name, "gsf1", false, 0)) { SendClientMessage(playerid,COLOR_WHITE, "You Dont Have Key from this vehicle."); } }