Need help on /(carname)
#3

PHP код:
if(strcmp("/elegy",cmdtext,true) == 0)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playerid,x,y,z);
    
CreateVehicle(562xyz0, -1, -160);
    
PutPlayerInVehicle(playerid,vehicleid,0);
    return 
1;

With this command youll spawn elegy on your position and get teleported in it automatically.
Reply


Messages In This Thread
Need help on /(carname) - by hokarheng - 12.07.2011, 16:40
Re: Need help on /(carname) - by Shadoww5 - 12.07.2011, 18:09
Re: Need help on /(carname) - by [MG]Dimi - 12.07.2011, 18:34
Re: Need help on /(carname) - by hokarheng - 13.07.2011, 11:14
Re: Need help on /(carname) - by Skaizo - 13.07.2011, 11:22

Forum Jump:


Users browsing this thread: 2 Guest(s)