Help me!
#1

Hi I too would like some help with two commands fail to do if Mati help would be very nice Thanks!
Код:
#include <a_samp>
//cars
new sinbadcar;
//icons
new sinbad;
//colors
#define red 		 0xFF0000AA
#define green 		 0x33FF33AA
#define yellow 		 0xFFFF00AA


public OnFilterScriptInit()
{
    print("************************************");
    print("*                                  *");
    print("*     -----------------------      *");
    print("*     | Private Cars  V 1.0 |      *");
    print("*     -----------------------      *");
    print("*      *");
    print("*                                  *");
    print("************************************");

//add cars here
	sinbadcar = AddStaticVehicle(418,1144.1190,-1445.1765,15.9024,180.0627,108,108); //  [ECA]Sinbad's Car
    return 1;
}

public OnPlayerStateChange(playerid,newstate, oldstate)
{
	new vehicleid = GetPlayerVehicleID(playerid);
	new pname[MAX_PLAYER_NAME];

	GetPlayerName(playerid,pname,sizeof pname);

	if (newstate == PLAYER_STATE_DRIVER)
	{
		if (vehicleid == sinbadcar)
		{
		 if(strcmp(pname,"[ECA]Sinbad",true) ==0)
		 {
			{
			SendClientMessage(playerid,green,"Welcome back to your private vehicle Admin Sinbad");
			}

		    return 1;
		 }
		 else
		 {
			RemovePlayerFromVehicle(playerid);
			SendClientMessage(playerid,red,"This PRIVATE Vehicle belongs to [ECA]Sinbad, you cannot drive this vehicle");
		 }
		}
	}
	return 1;
So if you can help me with the command / park and / locatecar completely fail Thank you very much
Reply
#2

OMG Learn to script for god dam sake
here
dont ask to remake with new cmds!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)