29.06.2014, 12:42
PHP Code:
if(strcmp("/valise", cmdtext, true) == 0)
{
new valise[MAX_PLAYERS];
valise[playerid] = CreateObject(idvalise, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(valise[playerid], playerid, x, y, z, rx, ry, rz);
}
if(strcmp("/retirervalise", cmdtext, true) == 0)
{
DestroyObject(valise[playerid]);
}