[AJUDA] "Tapete"
#2

pawn Код:
new tpc = 0;
new tp;
if(!strcmp(cmdtext, "/tapete", true)) {
    if(tpc == 1) return SendClienteMessage(playerid, -1, "Ja criou...");
   
    static Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x,y,z);
   
    tp = CreateObject(2892, x,y,z,0.0, 0.0,0.0, 500.0);
    tpc = 1;
    return 1;
}

if(!strcmp(cmdtext, "/deltapete", true)) {
    if(tpc == 0) return  SendClienteMessage(playerid, -1, "Nao criou...");
    DestroyObject(tp); tpc = 0;
    return 1;
}
Reply


Messages In This Thread
[AJUDA] "Tapete" - by guilhermeghc@hotmail.com - 23.01.2012, 01:34
Re: [AJUDA] "Tapete" - by Victor Cesaroni - 23.01.2012, 01:51
Re: [AJUDA] "Tapete" - by guilhermeghc@hotmail.com - 23.01.2012, 02:04
Respuesta: [AJUDA] "Tapete" - by BlackCoder - 23.01.2012, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)