Problem with GameTextForPlayer
#1

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	GameTextForPlayer(killerid, 2000$, 3000, 4);
	GameTextForPlayer(playerid, -1982$, 3000, 4);
	return 1;
}
C:\Documents and Settings\Sanaв\Bureau\SA-MP\gamemodes\lsgl.pwn(116) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\Sanaв\Bureau\SA-MP\gamemodes\lsgl.pwn(116) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Sanaв\Bureau\SA-MP\gamemodes\lsgl.pwn(116) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Sanaв\Bureau\SA-MP\gamemodes\lsgl.pwn(116) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Try
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	GameTextForPlayer(killerid, 2000$, 3000);
	GameTextForPlayer(playerid, -1982$, 3000);
	return 1;
}
Reply
#3

isn't work
Reply
#4

Sorry , my bad
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
GameTextForPlayer(killerid," 2000$, 6000",4);
GameTextForPlayer(playerid," -1982$, 3000",4);
return 1;
}
Reply
#5

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    GameTextForPlayer(killerid, "2000$", 3000, 5);
    GameTextForPlayer(playerid, "-1982$", 3000, 5);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)