SA-MP Forums Archive
[Help] - 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: [Help] (/showthread.php?tid=366036)



[Help] - Team_PRO - 05.08.2012

Um Where I Can Find Car Spawner For admin and tunig menu for admin


Re: [Help] - Syntax - 05.08.2012

Click me for a vehicle spawner!
An admin system with an array of vehicular commands!

Car tuning!

****** is your best friend, buddy.


Re: [Help] - Team_PRO - 05.08.2012

Quote:
Originally Posted by Syntax
Посмотреть сообщение
Well Thx It Work


Re: [Help] - rumen98 - 05.08.2012

Try this for car spawner in simple
Please rep

PHP код:
#include <a_samp>
#include <zcmd>
#define COLOR_PURPLE          0xC2A2DAAA
CMD:v(playerid, params[])
{
    new 
id;
    new 
atext[128];
    if(!
IsPlayerAdmin(playerid))
        return 
SendClientMessage(playerid, COLOR_RED, "Access Denied.");
    if (
sscanf(params, "d", id)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/v <ID> >");
    else if(
id < 400||id > 611) return SendClientMessage(playerid,COLOR_RED,"Max Levels 400-611!.");
    else
    {
    
format (atext, sizeof(atext), "You Spawn vehicle id:%d",id);
    
SendClientMessage(playerid, COLOR_PURPLE, atext);
    new 
Float:X;
    new 
Float:Y;
    new 
Float:Z;
    
GetPlayerPos(playerid,X,Y,Z);
    
CreateVehicle(id,X,Y+5,Z,1,1,1,90000);
    }
    return 
1;
} 



Re: [Help] - Team_PRO - 05.08.2012

Quote:
Originally Posted by Syntax
Посмотреть сообщение
Quote:
Originally Posted by rumen98
Посмотреть сообщение
Try this for car spawner in simple
Please rep

PHP код:
#include <a_samp>
#include <zcmd>
#define COLOR_PURPLE          0xC2A2DAAA
CMD:v(playerid, params[])
{
    new 
id;
    new 
atext[128];
    if(!
IsPlayerAdmin(playerid))
        return 
SendClientMessage(playerid, COLOR_RED, "Access Denied.");
    if (
sscanf(params, "d", id)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/v <ID> >");
    else if(
id < 400||id > 611) return SendClientMessage(playerid,COLOR_RED,"Max Levels 400-611!.");
    else
    {
    
format (atext, sizeof(atext), "You Spawn vehicle id:%d",id);
    
SendClientMessage(playerid, COLOR_PURPLE, atext);
    new 
Float:X;
    new 
Float:Y;
    new 
Float:Z;
    
GetPlayerPos(playerid,X,Y,Z);
    
CreateVehicle(id,X,Y+5,Z,1,1,1,90000);
    }
    return 
1;
} 
ok i will test this if help +1 rep for you