11.02.2012, 07:02
Hey there!
how can i spawn my Private car to me?
My Name : [EDZ]Kidoz
Car Name : mycar;
Thanks!!
how can i spawn my Private car to me?
My Name : [EDZ]Kidoz
Car Name : mycar;
Thanks!!
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);
}
}