#1

ERROR:
Код:
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(135) : error 035: argument type mismatch (argument 2)
Код:
public OnPlayerSpawn(playerid)
{
    if (PlayerInfo[playerid][pSkin] > 1)
    {
    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    SendClientMessage(playerid, COL_GREEN, "Vas skin  uspjesno ucitan."); //LINE 135
    }
	return 1;
}
Reply
#2

Show us your COL_GREEN define.
Reply
#3

Quote:
Originally Posted by antonio600x
Посмотреть сообщение
ERROR:
Код:
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(135) : error 035: argument type mismatch (argument 2)
Код:
public OnPlayerSpawn(playerid)
{
    if (PlayerInfo[playerid][pSkin] > 1)
    {
    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    SendClientMessage(playerid, COL_GREEN, "Vas skin  uspjesno ucitan."); //LINE 135
    }
	return 1;
}
waht line get that error?
but i guess this is the problem
make sure
pawn Код:
#define COL_GREEN 0x33AA33AA
if i help you give me rep
Reply
#4

Quote:
Originally Posted by Horrible
Посмотреть сообщение
waht line get that error?
but i guess this is the problem
make sure
pawn Код:
#define COL_GREEN 0x33AA33AA
if i help you give me rep
You are patetic. Just posting useless and ask for reputation? He clearly stated which line is 135 Where error is. varthshenon already told him and your post is just useless. -.-
Reply
#5

Код:
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COL_KHAKI "{0x999900AA}"
and gow to move players icon on map??
Reply
#6

You cant make it like that. Those are Hex. Rplace them with these:
PHP код:
#define COL_WHITE 0xFFFFFFFF
#define COL_RED 0xF81414FF
#define COL_GREEN 0x00FF22FF
#define COL_LIGHTBLUE 0x00CED1FF
#define COL_KHAKI 0x999900AA 
Reply
#7

Quote:
Originally Posted by antonio600x
Посмотреть сообщение
Код:
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COL_KHAKI "{0x999900AA}"
and gow to move players icon on map??
You are defining Hex colors.
And as well remove the "{.
It's only needed if you are going to use different colors in a single message.
pawn Код:
#define COL_RED                                                           0xFF0000FF
#define COL_GREEN                                                        0x00CD1EFF
#define COL_LIGHTBLUE                                                  0x00F4F4FF
#define COL_KHAKI                                                        0x999900AA
Reply
#8

For future learn:https://sampwiki.blast.hk/wiki/Colors_List
Map icon:https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reply
#9

Код:
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(87) : error 017: undefined symbol "ShowPlayerMakers"
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : error 001: expected token: ";", but found "-string-"
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\gmbeta.pwn(107) : fatal error 107: too many error messages on one line
whend define yours colors
Reply
#10

SHow us from line 80 to line 95 and from line 100 to line 115.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)