Hello i get 2 errors after making this CMD
#1

pawn Код:
SG:RP.pwn(15) : error 038: "cmdtext" is not variable
SG:RP.pwn(16) : error 039: extra characters on
Im trying to make when a player die's he looses his weapon and it worked but i did a cmd then my pawn crashed then i removed it now i get this error..
Reply
#2

I'm sorry but without seeing your code, we can't really help you out.
Reply
#3

Example if you want the gun to be on the ground you gotta make the cmd example
pawn Код:
SetTimerEx("DeleteGun", 10000, 0, "d", object[f]);
and put this somewhere
pawn Код:
new Float:DeleteGun;
Reply
#4

@ThaFuq?Santinosback! - Thanks man i really looked forward to get helped thanks ))))))
Reply
#5

Quote:
Originally Posted by ThaFuq?Santinosback!
Посмотреть сообщение
Example if you want the gun to be on the ground you gotta make the cmd example
pawn Код:
SetTimerEx("DeleteGun", 10000, 0, "d", object[f]);
and put this somewhere
pawn Код:
new Float:DeleteGun;
Wow wtf no. For timers you must always FORWARD the function, not create some new float.
so
pawn Код:
forward DeleteGun(wanted parameters[]);
public DeleteGun(wanted parameters[])
{
    //What the code does
    return 1;
}
Reply
#6

CookieJar I bet he got the code as he only needs the float and if you dont know how to do it dont post un useful posts..
Reply
#7

Quote:
Originally Posted by ThaFuq?Santinosback!
Посмотреть сообщение
CookieJar I bet he got the code as he only needs the float and if you dont know how to do it dont post un useful posts..
But how can he define what happens when the timer is completed, without forwarding the timer function, 'eh?
By creating a new variable? No.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)