Skin.....
#1

I need help I tryed to copy the skin changer dialog from here http://forum.sa-mp.com/showthread.ph...highlight=Skin

Errors

Quote:

C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(347) : error 055: start of function body without function header
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(349) : error 010: invalid function or declaration
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(351) : error 055: start of function body without function header
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(353) : error 021: symbol already defined: "ShowPlayerDialog"
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(355) : error 010: invalid function or declaration
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(357) : error 054: unmatched closing brace ("}")
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(359) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

link to the script

http://pastebin.com/CS3C7UKK

Quote:

{

if(strcmp(cmdtext, "/skin", true) == 0)

{

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Skin Change", "Enter the skin id you wish to have below", "Confirm", "Cancel");

return 1;

}

return 0;
}

ЁThis is under "OnPlayercommandtext" but I also have a duel script so I put it right under the duel script .. but idk why
Reply
#2

Someone please help
Reply
#3

Here it is: http://pastebin.com/A0WmshnH
Reply
#4

Hey Nonameman, thanks for responding but got 4 errors

Quote:

C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(34 : error 055: start of function body without function header
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(349) : error 010: invalid function or declaration
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(352) : error 010: invalid function or declaration
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(354) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Reply
#5

Dunno why, when I compiled it, there were no problems..
Did you included <a_samp>?
Reply
#6

Quote:
Originally Posted by Nonameman
Посмотреть сообщение
Dunno why, when I compiled it, there were no problems..
Did you included <a_samp>?
Of course... Wait here is the link for the whole gm

http://pastebin.com/N9hVFgBN

Please check it and help
Reply
#7

http://pastebin.com/gUj5ayGL

Try this..

I saw that you didn't put that /skin command under OnPlayerCommandText Callback, but why just you don't change that command to dcmd or zcmd?
Reply
#8

Thanks silvis! It worked, thank you!
Reply
#9

I just figured out that /skin ingame cmd didn't work :/ ? Why
Reply
#10

http://pastebin.com/eNx4McZV

Try this now.. It might work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)