05.06.2012, 07:04
Hi everyone,
I just made these stock functions, and yeah, i know, is suck at making stock functions..
here are the stocks:
and the errors..
Does anyone know what goes wrong!?
I just made these stock functions, and yeah, i know, is suck at making stock functions..
here are the stocks:
pawn Код:
stock HasMask(playerid)
{
if(PInfo[playerid][Mask] == 1)
{
HMask = "Yes";//line 1039
}
else
{
HMask = "No";
}
return HMask;
}
stock HasSex(playerid)
{
if(PInfo[playerid][PSex] == 0)
{
PlayerSex = "Male";
}
else
{
PlayerSex = "Female";//line 1043
}
return PlayerSex;
}
Код:
F:\Programming\WSRP\gamemodes\Untitled.pwn(1039) : error 006: must be assigned to an array F:\Programming\WSRP\gamemodes\Untitled.pwn(1043) : error 006: must be assigned to an array