25.04.2012, 12:24
i put meds fees system in my gm but i got 2 error
and
Код:
public OnPlayerDeath(playerid, killerid, reason) { new string[256]; new mrand =random(5000); format(string, sizeof(string),"The hospital has charged you $%d for their medical services.",mrand); SendClientMessage(playerid,0xFF4500AA, string); GivePlayerMoney(playerid,-mrand);
Код:
C:\DOCUME~1\BALOCH\MYDOCU~1\DOWNLO~1\SAMP03~1\GAMEMO~1\COPSAN~1.PWN(2615) : warning 219: local variable "string" shadows a variable at a preceding level C:\DOCUME~1\BALOCH\MYDOCU~1\DOWNLO~1\SAMP03~1\GAMEMO~1\COPSAN~1.PWN(2624) : warning 219: local variable "string" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.