Who can fix this Problem ?
#1

Error:

Код:
C:\Users\Admin\Desktop\UltimateFreeStyl\gamemodes\Reallife.pwn(240) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
1 Warning.


My Script:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	GivePlayerMoney(playerid,-312.00);    <------- 240 LINE
	SendClientMessage(playerid,ROT,"~~~~~~~~~~~~~~~~~~Arztabrechnung~~~~~~~~~~~~~~~~~~");
	SendClientMessage(playerid,ROT,"Name des Arztes: Dr. Wolfgang");
	SendClientMessage(playerid,ROT,"Grund: Gestorben");
	SendClientMessage(playerid,ROT,"Praxisgebьhren: 10$");
	SendClientMessage(playerid,ROT,"Arztkosten: 301$");
	SendClientMessage(playerid,ROT,"Gesamt: 312,00$");
	SendClientMessage(playerid,ROT,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
	return 1;
}
Reply
#2

try GivePlayerMoney(playerid,-312);
Reply
#3

your using a float to set the money!
Reply
#4

I want if the player did that he lost 312 $
Reply
#5

Quote:
Originally Posted by AwokenNeoX
Посмотреть сообщение
Format ?
i typed it wrong but edited the last post, i mean float
so GivePlayerMoney(playerid,-312); show the same warning ?
Reply
#6

Player Money are always integrer(123), not Float (123,012301203)
Reply
#7

Ok I have it sry for my bad english

#closed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)