09.07.2018, 10:01
Код:
C:\Users\ANSH\Desktop\MW3SAMP-master\MW3SAMP-master\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") C:\Users\ANSH\Desktop\REGISTER\SvsG.pwn(182) : error 028: invalid subscript (not an array or too many subscripts): "pInfo" C:\Users\ANSH\Desktop\REGISTER\SvsG.pwn(182) : warning 215: expression has no effect C:\Users\ANSH\Desktop\REGISTER\SvsG.pwn(182) : error 001: expected token: ";", but found "]" C:\Users\ANSH\Desktop\REGISTER\SvsG.pwn(182) : error 029: invalid expression, assumed zero C:\Users\ANSH\Desktop\REGISTER\SvsG.pwn(182) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSED(KEY_WALK)) { if(gTeam[playerid] == TEAM_AVENGERS) { if(pInfo[playerid][pAvengersClass] == SPIDERMAN) { { new Float:x,Float:y,Float:z; GetPlayerVelocity(playerid,Float:x,Float:y,Float:z); SetPlayerVelocity(playerid,Float:x,Float:y*0.9,Float:z+0.5* 0.9); } } } } return 1; }