Jump to content
  • 0

Problema plugin


Question

Guest hbk2310
Posted

Daca scot :

if(strcmp(cmdtext,"/tele",true)==0){
	SendClientMessage(playerid, YELLOW, "                |- Stunts'n'Drifts'n'Racez'n'Pwn Server Teleportations -|");
	SendClientMessage(playerid,COLOR_ORANGE,"/airport /airport2 /airport3 /plane /area69 /arch /ball /basejump");
	SendClientMessage(playerid,COLOR_ORANGE,"/beach /bigjump /bowl /bridge /bridge2 /cafe /cardealer /cargal /carpalace");
	SendClientMessage(playerid,COLOR_ORANGE,"/cg /chilliad /crooked /dam /derby /dm /drag /drift1 /drift2 /drift3");
	SendClientMessage(playerid,COLOR_ORANGE,"/drift4 /drift5 /drop /drop2 /drop3 /dunes /eggs /field /forest");
	SendClientMessage(playerid,COLOR_ORANGE,"/graveyard /goldbridge /golf /golf2 /grove /gym /hazzard /hippy");
	SendClientMessage(playerid,COLOR_ORANGE,"/hobo /hoop /hotel /inn /kanada /keep /lc /leap /mafia /military /monster");
	SendClientMessage(playerid,COLOR_ORANGE,"/motel /movieset /parkour /pk2 /pk3 /pk4 /pier /pimp /pool /police /rbed");
	SendClientMessage(playerid,COLOR_ORANGE,"/ridge /rockman /quarry /sb /sf /skatepark /sv /5towers /tie /tree /tunnel");
	return 1;}
si
#define YELLOW 0xFFFF00FF
#define COLOR_ORANGE 0xFF9933AA
merge,dar vreau sa ramana si comanda /tele sa poti sa vezi unde te teleportezi
#include <a_samp>

#define YELLOW 0xFFFF00FF
#define COLOR_ORANGE 0xFF9933AA

public OnFilterScriptInit()
{
    print("--------HbK2310--------");
	print("TeleportCmds by HbK2310");
	print("--------HbK2310--------");
	return 1;
}

public OnGameModeInit( )
{
    
    AddStaticVehicle(520, 347.0134, 2541.0955, 16.7544, 215.0633, 0, 1);
    AddStaticVehicle(522, 1558.4109, -1348.4330, 329.4609, 105.7556, 0, 1);
    AddStaticVehicle(522, 1550.6230, -1343.0010, 329.4586, 146.1760, 0, 1);
    CreateVehicle(520, 347.0134, 2541.0955, 16.7544, 215.0633, 0, 1, 10);
    CreateVehicle(522, 1558.4109, -1348.4330, 329.4609, 105.7556, 0, 1, 10);
    CreateVehicle(522, 1550.6230, -1343.0010, 329.4586, 146.1760, 0, 1, 10);


    return 1;
}

public OnPlayerCommandText(playerid,cmdtext[])
{

if(strcmp(cmdtext,"/tele",true)==0){
	SendClientMessage(playerid, YELLOW, "                |- Stunts'n'Drifts'n'Racez'n'Pwn Server Teleportations -|");
	SendClientMessage(playerid,COLOR_ORANGE,"/airport /airport2 /airport3 /plane /area69 /arch /ball /basejump");
	SendClientMessage(playerid,COLOR_ORANGE,"/beach /bigjump /bowl /bridge /bridge2 /cafe /cardealer /cargal /carpalace");
	SendClientMessage(playerid,COLOR_ORANGE,"/cg /chilliad /crooked /dam /derby /dm /drag /drift1 /drift2 /drift3");
	SendClientMessage(playerid,COLOR_ORANGE,"/drift4 /drift5 /drop /drop2 /drop3 /dunes /eggs /field /forest");
	SendClientMessage(playerid,COLOR_ORANGE,"/graveyard /goldbridge /golf /golf2 /grove /gym /hazzard /hippy");
	SendClientMessage(playerid,COLOR_ORANGE,"/hobo /hoop /hotel /inn /kanada /keep /lc /leap /mafia /military /monster");
	SendClientMessage(playerid,COLOR_ORANGE,"/motel /movieset /parkour /pk2 /pk3 /pk4 /pier /pimp /pool /police /rbed");
	SendClientMessage(playerid,COLOR_ORANGE,"/ridge /rockman /quarry /sb /sf /skatepark /sv /5towers /tie /tree /tunnel");
	return 1;}

	if(!strcmp(cmdtext,"/lv",true))
    {
        SetPlayerPos(playerid,2024.3549,1544.8292,10.8194 );
        return 1;
    }
    if(!strcmp(cmdtext,"/bigjump",true))
    {
        SetPlayerPos(playerid,1548.8870,-1349.8516,329.4669 );
        return 1;
    }
    if(!strcmp(cmdtext,"/aa",true))
    {
        SetPlayerPos(playerid,408.0388,2538.9941,16.5468 );
        return 1;
    }
    return 0;
}
Eroare:
C:\Users\Administrator\Desktop\teles.pwn(43) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

 

3 answers to this question

Recommended Posts

Guest hbk2310
Posted

@VlaD  A mers ms:)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.