rendered paste bodystock GetProp_String(propid, virtual_machine=0)
{
new propstring[255];
getproperty(virtual_machine,"",propid,propstring);
strunpack(propstring,propstring);
return propstring;
}
// don't work
stock GetPlayerProp_String(playerid, propid, virtual_machine=0)
{
return GetProp_String(PlayerPropID(playerid,propid),virtual_machine);
}
// work
stock GetPlayerProp_String(playerid, propid, virtual_machine=0)
{
new propstring[255];
getproperty(virtual_machine,"",PlayerPropID(playerid,propid),propstring);
strunpack(propstring,propstring);
return propstring;
}