[Help Me Ids] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help Me Ids] (
/showthread.php?tid=468894)
[Help Me Ids] -
Moleex - 10.10.2013
Hello Guys,Please Help Me I have Rated Gamemode And I Have Problem With ids How i Can to Fix It Please Help
Re: [Help Me Ids] -
Mattakil - 11.10.2013
Ids...to what?
Re: [Help Me Ids] -
Moleex - 11.10.2013
Quote:
Originally Posted by Mattakil
Ids...to what?
|
Example i have 3 Players In Server and name of Players "Loleex_Babutsa" Id 0 Other PLayer name "Fisnik_Babutsa" Id 1, And I say /gotoid 0 {To Loleex_Babutsa} He Dont Work he Go To Fisnik_Babutsa This is Problem
Re: [Help Me Ids] -
Scrillex - 11.10.2013
pawn Код:
CMD:gotoid(playerid, params[])
{
new id;
if(sscanf(params, "i", id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotoid [id]");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_WHITE, "Player not connected!");//Here
new Float:idx,Float:idy,Float:idz;
GetPlayerPos(id, idx, idy, idz);
SetPlayerPos(playerid, idx, idy+4, idz);
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
Re: [Help Me Ids] -
efrim123 - 11.10.2013
Do what scrillex told you
If it wont work just update sscanf I had the same problem once