xyz.pwn(22109) : warning 214: possibly a "const" array argument was intended: "string"
#3

Quote:
Originally Posted by Calisthenics
View Post
Code:
CheckName(playerid, const string[])
Any array that is never modified should be a constant.
Thank you bro..

And this? thank you

warning 239: literal array/string passed to a non-const parameter
Quote:

if(PlayerInfo[playerid][pTeam] != 5) SetPlayerCriminal(killerid, "Unknown", "First Degree Murder", 1);

or
warning 239: literal array/string passed to a non-const parameter
Quote:

if(PlayerProfile[playerid]) cmd_profile(playerid, "0");

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)