Searching a carsystem..
#1

Hey guys,

Iam searching a carsystem with the funktions
/spawnvehicle (Spawns a car)
/setowner (Set's the car owner)
/park (parks the vehicle and spawns there when you log in)
/sellmycar (Sells the car to a other player)


Maybe you can help me.

Thanks!
Reply
#2

http://forum.sa-mp.com/search.php
Reply
#3

Wow great help.
Reply
#4

This isn't searching, this is requesting.
Reply
#5

Yeah your right hehe
Reply
#6

Quote:
Originally Posted by xOFxK1LLER
Посмотреть сообщение
/spawnvehicle (Spawns a car)
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/spawnvehicle"true) == 0)
    {
        new 
v[256], idx;
        
strtok(cmdtextidx);
        if(!
strlen(v)) return SendClientMessage(playerid0xFF0000FF"USE: /spawnvehicle [VEHICLE ID]");
        if(!
IsValidVehicle(strval(v))) return SendClientMessage(playerid0xFF0000FF"INVALID VEHICLE ID.");
        
SetVehicleToRespawn(strval(v));
        
format(vsizeof v"Vehicle 60 respawned successfully."strval(v));
        
SendClientMessage(playerid0xFFFF00FFv);
        return 
1;
    }
    return 
0;
}
stock IsValidVehicle(vehicleid)
{
    switch(
GetVehicleModel(vehicleid))
    {
        case 
406407408409413414416418423424427428431434437442443444445455456457459471482483485486489490494495498499500502503504505508514524525528530531543544545556557568 571572573574578582583588596597598599601605609448461462463468481509510522523581586417425447469487488497548563460476511512513519520539553577592593430446452453454472473484493595432433470441464465501564594449537538569570590435450584591606607608610611479: return 1;
    }
    return 
0;

Reply
#7

hehe its good to spawn vehicles but the other commands like /park, /sellmycar are importend
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)