22.03.2009, 13:20
Hello, i have this System:
All works fine, exempt the GivePLayerPCash...
Pawno says:
Line:
Has anyone a Idea?
pawn Код:
new Float:strafkmh = 20;
new Float:strafkmh2 = distance-70;
new Float:strafe = strafkmh2*strafkmh;
SendClientMessage(i, COLOR_YELLOW, "~~~~~~~~~~~~~~~~~~ Geblitzt ~~~~~~~~~~~~~~~~~~");
format(string, 256, " Geschwindigkeit: %.0f KM/H erlaubt: 50 KM/H",distance);
SendClientMessage(i, COLOR_YELLOW, string);
format(string, 256, " Kosten: %.0f",strafe);
SendClientMessage(i, COLOR_YELLOW, string);
GivePlayerPCash(i, -strafe);
SendClientMessage(i, COLOR_YELLOW, "~~~~~~~~~~~~~~~~~~ Geblitzt ~~~~~~~~~~~~~~~~~~");
Pawno says:
pawn Код:
C:\Dokumente und Einstellungen\Plato\Desktop\GM\Euro Version\gamemodes\grl.pwn(8108) : warning 213: tag mismatch
Line:
pawn Код:
GivePlayerPCash(i, -strafe);