19.07.2010, 16:59
Hi, i want to make a command like /explode that will place a pickup in front of me, but i cant figure how i will put it, i mean not like that : CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1); but it would be something like this : CreatePickup(1242, 2, x+2, y+2, z, -1); this is my cmd
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/explode", cmdtext, true, == 0)
{
CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
}
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/explode", cmdtext, true, == 0)
{
CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
}
return 1;
}