[Tutorial] Making Goto With ZCMD And Sscanf
#2

Quote:

"u" = for playerid
"d" = for number
"s" = for word
"f" = for float

"d" and "i" is called an integer, they can both be used, if i remember right it's like a number without a decimal.
"s" means a string, which can have all sorts of characters in it.

Код:
if(pID == playerid) return 0;
Why return 0? It'll give the "Unknown command" message.

Код:
LinkVehicleToInterior(GetPlayerVehicleID(playerid) , 0);
If the other player is in an interior, you should use GetPlayerInterior instead of 0.

Also, you don't explain that much, but you do however explain some things, so that's good.
Reply


Messages In This Thread
Making Goto With ZCMD And Sscanf - by dh240473 - 22.02.2015, 05:50
Re: Making Goto With ZCMD And Sscanf - by CalvinC - 22.02.2015, 06:35
Re: Making Goto With ZCMD And Sscanf - by dh240473 - 22.02.2015, 07:31

Forum Jump:


Users browsing this thread: 1 Guest(s)