Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by ►►►Peter Corneile◄◄◄
pawn Код:
if(!strcmp(cmdtext, "/goto lasventuras 3", true)) { SetPlayerPos(playerid,floatx,floaty,floatz); return 1; }
if(!strcmp(cmdtext, "/goto lasventuras 4", true)) { SetPlayerPos(playerid,floatx,floaty,floatz); return 1; }
And so on ....
|
VERY VERY bad code right there. That's just going to literally clatter up your OnPlayerCommandText() with useless code. Read this:
https://sampwiki.blast.hk/wiki/Dcmd