09.02.2013, 12:04
What is wrong in this script lines:
when i write /vilkur in game, nothing happens.
Does somebody help me, please!
the Greatest: Sniper99
Код:
public OnPlayerCommandText(playerid, cmdtext[])
if (strcmp("/vilkur", cmdtext, true) == 0)
{
glob4 = GetPlayerVehicleID(playerid);
glob0 = CreateObject(18646, -0.7, 0.15, 0.85, 0.0, 0.0, 96.0, 0);
AttachObjectToVehicle(glob0, glob4, 3207803699, 1041865114, 1062836634, 0, 0, 0);
return 1;
}
else if (strcmp("/vilkurmaas", cmdtext, true) == 0)
{
DestroyObject(glob0);
return 1;
}
Does somebody help me, please!
the Greatest: Sniper99


I'll help you out.