30.09.2014, 14:48
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new*weaponid=GetPlayerWeapon(killerid);//Line 11191
****new*weapname[64];//Line 11192
GetWeaponName(weaponid,*weapname,*sizeof(weapname));
****SetPVarString(playerid,*"gotkilledby",*PlayerRPName(killerid));
****SetPVarString(playerid,*"gotkilledbygun",*weapname);
return 1;
}
PHP код:
new*weaponid=GetPlayerWeapon(killerid);//Line 11191
****new*weapname[64];//Line 11192
PHP код:
RP.pwn(11191) : error 001: expected token: "-identifier-", but found "*"
RP.pwn(11192) : error 029: invalid expression, assumed zero
RP.pwn(11192) : error 029: invalid expression, assumed zero
RP.pwn(11192) : error 029: invalid expression, assumed zero
RP.pwn(11192) : fatal error 107: too many error messages on one line