Script help (car system)
#2

pawn Код:
if(strcmp(tmp, "2", true) == 0)
                {
                    //if(IsVehicleSpawned(veh2[playerid]))
                    if(veh2[playerid] != 999)
                        {
                            new Float:X, Float:Y, Float:Z;
                            GetVehiclePos(veh2[playerid], X, Y, Z);
                            vCheck2[playerid] = SetPlayerCheckpoint(playerid, X, Y, Z, 5);
                            format(string, sizeof(string), "Your %s is at %s.Go to the red mark to get it.", VehicleNames[GetVehicleModel(veh2[playerid])-400], vZone);
                            SendClientMessage(playerid, COLOR_LIGHTRED, string);
                            return 1;
                        }
                        else
                        {
                            format(string, sizeof(string), "Your %s is at %s, and you are in %s, go to %s then use /v find", VehicleNames[GetVehicleModel(veh2[playerid])-400], vZone, pZone, vZone);
                            SendClientMessage(playerid, COLOR_LIGHTRED, string);
                            return 1;
                        }
                }
Or something.
Reply


Messages In This Thread
Script help (car system) - by PaulDinam - 25.06.2012, 19:40
Re: Script help - by Grand_Micha - 25.06.2012, 19:44
Re: Script help (car system) - by PaulDinam - 25.06.2012, 19:46
Re: Script help (car system) - by PaulDinam - 25.06.2012, 20:09
Re: Script help (car system) - by PaulDinam - 25.06.2012, 22:52
Re: Script help (car system) - by JonnyDeadly - 25.06.2012, 22:55
Re: Script help (car system) - by PaulDinam - 26.06.2012, 00:59

Forum Jump:


Users browsing this thread: 1 Guest(s)