19.10.2009, 22:43
i changed a few things and got this
What i put
Код:
C:\Documents and Settings\admin_pass\Desktop\KVRCR2\gamemodes\convert1.pwn(5015) : warning 219: local variable "classid" shadows a variable at a preceding level C:\Documents and Settings\admin_pass\Desktop\KVRCR2\gamemodes\convert1.pwn(5058) : warning 219: local variable "classid" shadows a variable at a preceding level C:\Documents and Settings\admin_pass\Desktop\KVRCR2\gamemodes\convert1.pwn(5204) : warning 202: number of arguments does not match definition C:\Documents and Settings\admin_pass\Desktop\KVRCR2\gamemodes\convert1.pwn(5852) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.
Код:
} for(new i = 0; i <MAX_PLAYERS; i++) { if(gTeam[i] == TEAM_COP || classid == 6) { GetPlayerScore(playerid, oscore <= 999); } } { GameTextForPlayer(playerid,"~w~you cannot use this class/skill~n~ you do not have the required score (1000+) to play as~n~ ~b~ S.W.A.T.",5000,3); }