- 0
Problema !!!!
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
zaster
Salut am Si eu O Problema
LooK -->
Uite SI Linia Cu Definirea la Comanda
[pawn]public OnPlayerCommandText(playerid,cmdtext[])
{
dcmd(vipgoto,7,cmdtext);
dcmd(viplevel,5,cmdtext);
dcmd(setvip,8,cmdtext);
return 0;
}[/pawn]
Uitati Si COmanda
[pawn]CMD:vipgoto(playerid, params[])
{
#pragma unused params
if(RPLLogged[playerid] == 1)
{
new ID , id;
if(sscanf(params, "u", ID)) SendClientMessage(playerid, 0xFF0000FF, "USAGE: /goto [id]");
else if(!IsPlayerConnected(id) || id == playerid) return SendClientMessage(playerid, 0xFF0000FF, "This player is offline or it is yourself");
else
{
new Float:x, Float:y, Float:z;
GetPlayerPos(ID, x, y, z);
SetPlayerPos(playerid, x+1, y+1, z);
}
return 1;
}[/pawn]
Nu Inteleg De Ce Ami Zice Ca Este Undefined :|
1 answer to this question
Recommended Posts