SA-MP Forums Archive
[Ajuda] Ajuda - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Ajuda (/showthread.php?tid=434452)



Ajuda - LKING - 02.05.2013

Alguem me pode arranjar um comando para spawnar a beira do player uma NRG sff
tipo /nrg500 e spawnava sff


Re: Ajuda - Hulk3000 - 02.05.2013

Spawna uma moto do lado do player ?
pawn Код:
CMD:nrg500(playerid)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    CreateVehicle(522, X, Y, Z, -1);
    return 1;
}



Re: Ajuda - LKING - 02.05.2013

podia ser com este tipo sff
if (strcmp("/nrg", cmdtext, true)


Re: Ajuda - Hulk3000 - 02.05.2013

pawn Код:
if (strcmp("/nrg500", cmdtext, true, 10) == 0)
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        CreateVehicle(522, X, Y, Z, -1);
        return 1;
    }



Re: Ajuda - LKING - 02.05.2013

C:\Users\HP\Desktop\Gamemodes\gamemodesca\gamemode s\sudclan.pwn(2304) : warning 202: number of arguments does not match definition
C:\Users\HP\Desktop\Gamemodes\gamemodesca\gamemode s\sudclan.pwn(2304) : warning 202: number of arguments does not match definition
C:\Users\HP\Desktop\Gamemodes\gamemodesca\gamemode s\sudclan.pwn(2304) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 2784 bytes
Code size: 272796 bytes
Data size: 113408 bytes
Stack/heap size: 16384 bytes; estimated max. usage=2101 cells (8404 bytes)
Total requirements: 405372 bytes

4 Warnings.