SA-MP Forums Archive
Spawn Private car - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Spawn Private car (/showthread.php?tid=317360)



Spawn Private car - DexToxz - 11.02.2012

Hey there!
how can i spawn my Private car to me?

My Name : [EDZ]Kidoz
Car Name : mycar;

Thanks!!


Re: Spawn Private car - niels44 - 11.02.2012

show us some more codes man... we cant make something out of mycar...


Re: Spawn Private car - DexToxz - 11.02.2012

Hmmm This one?

https://sampforum.blast.hk/showthread.php?tid=283929


Re: Spawn Private car - DexToxz - 11.02.2012

Help Please!! :HELP:


Re: Spawn Private car - Danyal - 11.02.2012

pawn Код:
if(strcmp(cmdtext, "/mycar", true)==0 )
    {
        new pOwnerName[MAX_PLAYER_NAME];
        new Float:x, Float:y, Float:z;
        GetPlayerName(playerid,pOwnerName,sizeof(pOwnerName));
        if(strcmp("[EDZ]Kidoz",pOwnerName,true) == 0)
        {
            if(!IsPlayerInAnyVehicle(playerid))
            {
                GetPlayerPos(playerid,x,y,z);
                SetVehiclePos(mycar,x+5,y,z);
                GameTextForPlayer(playerid, "Wellcome to Your Car", 3000, 5);
            }
        }
here you go buddy +rep if i helped


Re: Spawn Private car - DexToxz - 11.02.2012

Cool,Ty!


Re: Spawn Private car - Danyal - 11.02.2012

DELETED