- 0
Problema !!!!
-
Similar Content
-
- 2 answers
- 626 views
-
Problema turf
By Soryn.,
- 3 answers
- 403 views
-
- 0 replies
- 142 views
-
- 2 replies
- 331 views
-
- 1 reply
- 203 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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 :|
Link to comment
Share on other sites
1 answer to this question
Recommended Posts